From: Johannes Berg Date: Thu, 23 Jan 2014 15:32:29 +0000 (+0100) Subject: cfg80211: re-enable 5/10 MHz support X-Git-Tag: v4.9.8~6747^2~21^2^2~6^2~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5a6aa705ffdd97552ff756bbfa7d5a3b62a6c690;p=platform%2Fkernel%2Flinux-rpi3.git cfg80211: re-enable 5/10 MHz support Unfortunately I forgot this during the merge window, but the patch seems small enough to go in as a fix. The userspace API bug that was the reason for disabling it has long been fixed. Signed-off-by: Johannes Berg --- diff --git a/net/wireless/core.c b/net/wireless/core.c index d89dee2..77fe4c7 100644 --- a/net/wireless/core.c +++ b/net/wireless/core.c @@ -440,9 +440,6 @@ 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.