Return-path: Received: from mail-ea0-f180.google.com ([209.85.215.180]:43115 "EHLO mail-ea0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751286AbaAOMJc (ORCPT ); Wed, 15 Jan 2014 07:09:32 -0500 Received: by mail-ea0-f180.google.com with SMTP id f15so414405eak.25 for ; Wed, 15 Jan 2014 04:09:31 -0800 (PST) From: Michal Kazior To: linux-wireless@vger.kernel.org Cc: johannes@sipsolutions.net, Michal Kazior Subject: [RFC 7/9] Revert "cfg80211: disable CSA for all drivers" Date: Wed, 15 Jan 2014 13:04:52 +0100 Message-Id: <1389787494-7361-8-git-send-email-michal.kazior@tieto.com> (sfid-20140115_130941_191106_1DB89AA8) In-Reply-To: <1389787494-7361-1-git-send-email-michal.kazior@tieto.com> References: <1389787494-7361-1-git-send-email-michal.kazior@tieto.com> Sender: linux-wireless-owner@vger.kernel.org List-ID: This reverts commit dda444d52496aa8ddc501561bca580f1374a96a9. Re-enable CSA as the locking issues have been solved. Signed-off-by: Michal Kazior --- net/wireless/core.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/net/wireless/core.c b/net/wireless/core.c index d89dee2..aa3def7 100644 --- a/net/wireless/core.c +++ b/net/wireless/core.c @@ -443,12 +443,6 @@ int wiphy_register(struct wiphy *wiphy) /* 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. - */ - wiphy->flags &= ~WIPHY_FLAG_HAS_CHANNEL_SWITCH; - #ifdef CONFIG_PM if (WARN_ON(wiphy->wowlan && (wiphy->wowlan->flags & WIPHY_WOWLAN_GTK_REKEY_FAILURE) && -- 1.8.4.rc3