Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Simon Wunderlich and committed by
Johannes Berg
dda444d5 24d47300

+6
+6
net/wireless/core.c
··· 454 454 /* support for 5/10 MHz is broken due to nl80211 API mess - disable */ 455 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 463 #ifdef CONFIG_PM 458 464 if (WARN_ON(wiphy->wowlan && 459 465 (wiphy->wowlan->flags & WIPHY_WOWLAN_GTK_REKEY_FAILURE) &&