From patchwork Mon Mar 29 23:12:19 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luis de Bethencourt X-Patchwork-Id: 89109 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o2TNDSTT014997 for ; Mon, 29 Mar 2010 23:13:28 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754807Ab0C2XM5 (ORCPT ); Mon, 29 Mar 2010 19:12:57 -0400 Received: from mail-wy0-f174.google.com ([74.125.82.174]:33017 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754278Ab0C2XM4 (ORCPT ); Mon, 29 Mar 2010 19:12:56 -0400 Received: by wyb39 with SMTP id 39so1256553wyb.19 for ; Mon, 29 Mar 2010 16:12:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:cc:subject :date:message-id:x-mailer:in-reply-to:references; bh=7OCSr85TLiTftVtH7/EkqJnGxYWLkcQGssJlmjtr2Y0=; b=rfNi8NUznezgsSQD8Cfu5W4I7IOUsV7swp8/F4zV0VgUprfIRXMAucf9U/70zdQ/BQ VS9ONObzxRR/f6lCd/ThwpBO7xBUyg3L/o3VScXfkXv083gqBBhq7Ne+zlqrFtosMVbn asqBN4+m/sgOzomKjtVdLHTXXYidFAfR/KBBg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; b=VW7O/52YvzQnPRdzZrcQW9R5l0unh7CNfQMXgsTk1RPMSWiUFm1KtVVMach3/GiqOC GQrY8SRihozbCFgZACgFjcnu1W0KsXU5QCSYSF26olHHG9kYHyWOFSPxSHT0AijSeqoD 3df1R9V5sBridAEjiATs1cplLxJmarl0B5Eac= Received: by 10.216.169.84 with SMTP id m62mr3456964wel.130.1269904374523; Mon, 29 Mar 2010 16:12:54 -0700 (PDT) Received: from localhost.localdomain (ip-83-147-130-2.dsl.digiweb.ie [83.147.130.2]) by mx.google.com with ESMTPS id p10sm14636331gvf.22.2010.03.29.16.12.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 29 Mar 2010 16:12:54 -0700 (PDT) From: Luis de Bethencourt To: linville@tuxdriver.com, lrodriguez@atheros.com Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Luis de Bethencourt Subject: [PATCH 2/2] ath: fix macros coding style issue in regd.c Date: Tue, 30 Mar 2010 00:12:19 +0100 Message-Id: <1269904339-15599-1-git-send-email-luisbg@ubuntu.com> X-Mailer: git-send-email 1.6.3.3 In-Reply-To: References: Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Mon, 29 Mar 2010 23:13:28 +0000 (UTC) diff --git a/drivers/net/wireless/ath/regd.c b/drivers/net/wireless/ath/regd.c index 04abd1f..971edc4 100644 --- a/drivers/net/wireless/ath/regd.c +++ b/drivers/net/wireless/ath/regd.c @@ -45,15 +45,16 @@ #define ATH9K_5GHZ_5725_5850 REG_RULE(5725-10, 5850+10, 40, 0, 30,\ NL80211_RRF_PASSIVE_SCAN | NL80211_RRF_NO_IBSS) -#define ATH9K_2GHZ_ALL ATH9K_2GHZ_CH01_11, \ +#define ATH9K_2GHZ_ALL (ATH9K_2GHZ_CH01_11, \ ATH9K_2GHZ_CH12_13, \ - ATH9K_2GHZ_CH14 + ATH9K_2GHZ_CH14) + +#define ATH9K_5GHZ_ALL (ATH9K_5GHZ_5150_5350, \ + ATH9K_5GHZ_5470_5850) -#define ATH9K_5GHZ_ALL ATH9K_5GHZ_5150_5350, \ - ATH9K_5GHZ_5470_5850 /* This one skips what we call "mid band" */ -#define ATH9K_5GHZ_NO_MIDBAND ATH9K_5GHZ_5150_5350, \ - ATH9K_5GHZ_5725_5850 +#define ATH9K_5GHZ_NO_MIDBAND (ATH9K_5GHZ_5150_5350, \ + ATH9K_5GHZ_5725_5850) /* Can be used for: * 0x60, 0x61, 0x62 */