aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/ath/regd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/regd.c b/drivers/net/wireless/ath/regd.c
index 04abd1f556b7..d5c23328aef1 100644
--- a/drivers/net/wireless/ath/regd.c
+++ b/drivers/net/wireless/ath/regd.c
@@ -51,6 +51,7 @@
51 51
52#define ATH9K_5GHZ_ALL ATH9K_5GHZ_5150_5350, \ 52#define ATH9K_5GHZ_ALL ATH9K_5GHZ_5150_5350, \
53 ATH9K_5GHZ_5470_5850 53 ATH9K_5GHZ_5470_5850
54
54/* This one skips what we call "mid band" */ 55/* This one skips what we call "mid band" */
55#define ATH9K_5GHZ_NO_MIDBAND ATH9K_5GHZ_5150_5350, \ 56#define ATH9K_5GHZ_NO_MIDBAND ATH9K_5GHZ_5150_5350, \
56 ATH9K_5GHZ_5725_5850 57 ATH9K_5GHZ_5725_5850
@@ -361,7 +362,7 @@ EXPORT_SYMBOL(ath_reg_notifier_apply);
361 362
362static bool ath_regd_is_eeprom_valid(struct ath_regulatory *reg) 363static bool ath_regd_is_eeprom_valid(struct ath_regulatory *reg)
363{ 364{
364 u16 rd = ath_regd_get_eepromRD(reg); 365 u16 rd = ath_regd_get_eepromRD(reg);
365 int i; 366 int i;
366 367
367 if (rd & COUNTRY_ERD_FLAG) { 368 if (rd & COUNTRY_ERD_FLAG) {