@@ -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 */