diff options
author | Simon Wunderlich <sw@simonwunderlich.de> | 2013-11-26 10:07:26 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-12-02 05:53:44 -0500 |
commit | dda444d52496aa8ddc501561bca580f1374a96a9 (patch) | |
tree | 6eab51af7f7030463daac16d50508c08736cb27d /net/wireless/core.c | |
parent | 24d47300d118c5909a51b7270276d749cce150a2 (diff) |
cfg80211: disable CSA for all drivers
The channel switch announcement code has some major locking problems
which can cause a deadlock in worst case. A series of fixes has been
proposed, but these are non-trivial and need to be tested first.
Therefore disable CSA completely for 3.13.
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/core.c')
-rw-r--r-- | net/wireless/core.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/wireless/core.c b/net/wireless/core.c index 00a65ba3aeaa..52b865fb7351 100644 --- a/net/wireless/core.c +++ b/net/wireless/core.c | |||
@@ -454,6 +454,12 @@ int wiphy_register(struct wiphy *wiphy) | |||
454 | /* support for 5/10 MHz is broken due to nl80211 API mess - disable */ | 454 | /* support for 5/10 MHz is broken due to nl80211 API mess - disable */ |
455 | wiphy->flags &= ~WIPHY_FLAG_SUPPORTS_5_10_MHZ; | 455 | wiphy->flags &= ~WIPHY_FLAG_SUPPORTS_5_10_MHZ; |
456 | 456 | ||
457 | /* | ||
458 | * There are major locking problems in nl80211/mac80211 for CSA, | ||
459 | * disable for all drivers until this has been reworked. | ||
460 | */ | ||
461 | wiphy->flags &= ~WIPHY_FLAG_HAS_CHANNEL_SWITCH; | ||
462 | |||
457 | #ifdef CONFIG_PM | 463 | #ifdef CONFIG_PM |
458 | if (WARN_ON(wiphy->wowlan && | 464 | if (WARN_ON(wiphy->wowlan && |
459 | (wiphy->wowlan->flags & WIPHY_WOWLAN_GTK_REKEY_FAILURE) && | 465 | (wiphy->wowlan->flags & WIPHY_WOWLAN_GTK_REKEY_FAILURE) && |