Skip to content

Commit f41ef64

Browse files
Michal Kaziorjmberg-intel
authored andcommitted
cfg80211: re-enable CSA for drivers that support it
This reverts commit dda444d. Channel switching code has been reworked and improved significantly since the time original locking issues were found. Signed-off-by: Michal Kazior <michal.kazior@tieto.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
1 parent c70f59a commit f41ef64

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

‎net/wireless/core.c‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -492,12 +492,6 @@ int wiphy_register(struct wiphy *wiphy)
492492
int i;
493493
u16 ifmodes = wiphy->interface_modes;
494494

495-
/*
496-
* There are major locking problems in nl80211/mac80211 for CSA,
497-
* disable for all drivers until this has been reworked.
498-
*/
499-
wiphy->flags &= ~WIPHY_FLAG_HAS_CHANNEL_SWITCH;
500-
501495
#ifdef CONFIG_PM
502496
if (WARN_ON(wiphy->wowlan &&
503497
(wiphy->wowlan->flags & WIPHY_WOWLAN_GTK_REKEY_FAILURE) &&

0 commit comments

Comments
 (0)