diff options
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 aff959e5a1b3..52b865fb7351 100644 --- a/net/wireless/core.c +++ b/net/wireless/core.c | |||
| @@ -451,6 +451,15 @@ int wiphy_register(struct wiphy *wiphy) | |||
| 451 | int i; | 451 | int i; |
| 452 | u16 ifmodes = wiphy->interface_modes; | 452 | u16 ifmodes = wiphy->interface_modes; |
| 453 | 453 | ||
| 454 | /* support for 5/10 MHz is broken due to nl80211 API mess - disable */ | ||
| 455 | wiphy->flags &= ~WIPHY_FLAG_SUPPORTS_5_10_MHZ; | ||
| 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 | |||
| 454 | #ifdef CONFIG_PM | 463 | #ifdef CONFIG_PM |
| 455 | if (WARN_ON(wiphy->wowlan && | 464 | if (WARN_ON(wiphy->wowlan && |
| 456 | (wiphy->wowlan->flags & WIPHY_WOWLAN_GTK_REKEY_FAILURE) && | 465 | (wiphy->wowlan->flags & WIPHY_WOWLAN_GTK_REKEY_FAILURE) && |
