diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-02-16 08:46:58 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-02-18 22:54:52 +0100 |
commit | 8ba0537c620ad9f37b0e810ce0a9ff367a021f5e (patch) | |
tree | 659622a8cd43642ca6438ec6a7a3e68e82d23efd /net/mac80211/ieee80211_i.h | |
parent | wireless-next-2.6: brcm80211: fix compile issue (diff) | |
download | linux-8ba0537c620ad9f37b0e810ce0a9ff367a021f5e.tar.xz linux-8ba0537c620ad9f37b0e810ce0a9ff367a021f5e.zip |
mac80211: fix 2.4 GHz 40 MHz disabling
The module parameter ieee80211_disable_40mhz_24ghz
was meant to allow disabling 40 MHz operation in
the 2.4 GHz band by default. However, it is buggy
as implemented because while it advertises to the
AP that the device doesn't support 40 MHz, it will
itself still use 40 MHz configurations.
To fix this, clear the 40 MHz bits from the sband
completely instead of overriding where used.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 44eea1af1553..bb63878d865e 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h @@ -1066,8 +1066,6 @@ void ieee80211_bss_info_change_notify(struct ieee80211_sub_if_data *sdata, void ieee80211_configure_filter(struct ieee80211_local *local); u32 ieee80211_reset_erp_info(struct ieee80211_sub_if_data *sdata); -extern bool ieee80211_disable_40mhz_24ghz; - /* STA code */ void ieee80211_sta_setup_sdata(struct ieee80211_sub_if_data *sdata); int ieee80211_mgd_auth(struct ieee80211_sub_if_data *sdata, |