summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2009-02-03 04:35:05 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2009-02-09 20:03:48 (GMT)
commitde9f97efb2ea2a32a610932d881e4d3653e0f932 (patch)
tree27cd3a478e1db10a551f8be19ca829bcb7507f40 /drivers
parent24b5bcc6aef46346edd69becf62d2125c0b3208e (diff)
downloadlinux-fsl-qoriq-de9f97efb2ea2a32a610932d881e4d3653e0f932.tar.xz
ath9k: fix reg_notifier() flags used upon a country IE
The nl80211 rule flags were being used. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/ath9k/regd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath9k/regd.c b/drivers/net/wireless/ath9k/regd.c
index dfcc3b5..fe08a4f 100644
--- a/drivers/net/wireless/ath9k/regd.c
+++ b/drivers/net/wireless/ath9k/regd.c
@@ -192,11 +192,11 @@ static void ath9k_reg_apply_5ghz_beaconing_flags(struct wiphy *wiphy,
* it by applying our static world regdomain by default during
* probe */
if (!(reg_rule->flags & NL80211_RRF_NO_IBSS))
- ch->flags &= ~NL80211_RRF_NO_IBSS;
+ ch->flags &= ~IEEE80211_CHAN_NO_IBSS;
if (!ath9k_is_radar_freq(ch->center_freq))
continue;
if (!(reg_rule->flags & NL80211_RRF_PASSIVE_SCAN))
- ch->flags &= ~NL80211_RRF_PASSIVE_SCAN;
+ ch->flags &= ~IEEE80211_CHAN_PASSIVE_SCAN;
}
}