diff options
author | John W. Linville <linville@tuxdriver.com> | 2013-12-06 15:50:45 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-12-06 15:50:45 +0100 |
commit | e08fd975bf26aa8063cadd245817e042f570472d (patch) | |
tree | 2b2a705710e6374cc037f89bcc7bfc25047485ba /net/wireless/core.c | |
parent | ath: fix dynamic user regulatory domain support (diff) | |
parent | Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jber... (diff) | |
download | linux-e08fd975bf26aa8063cadd245817e042f570472d.tar.xz linux-e08fd975bf26aa8063cadd245817e042f570472d.zip |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless
Conflicts:
drivers/net/wireless/brcm80211/Kconfig
net/mac80211/util.c
Diffstat (limited to 'net/wireless/core.c')
-rw-r--r-- | net/wireless/core.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/net/wireless/core.c b/net/wireless/core.c index fc968c861ee4..06db6eb5258a 100644 --- a/net/wireless/core.c +++ b/net/wireless/core.c @@ -449,6 +449,15 @@ int wiphy_register(struct wiphy *wiphy) int i; u16 ifmodes = wiphy->interface_modes; + /* support for 5/10 MHz is broken due to nl80211 API mess - disable */ + wiphy->flags &= ~WIPHY_FLAG_SUPPORTS_5_10_MHZ; + + /* + * There are major locking problems in nl80211/mac80211 for CSA, + * disable for all drivers until this has been reworked. + */ + wiphy->flags &= ~WIPHY_FLAG_HAS_CHANNEL_SWITCH; + #ifdef CONFIG_PM if (WARN_ON(wiphy->wowlan && (wiphy->wowlan->flags & WIPHY_WOWLAN_GTK_REKEY_FAILURE) && |