diff mbox

[TESTING-QH,2/2] REMOVEME: remove NO_IBSS and PASSIVE_SCAN from reg_can_beacon()

Message ID 1365006759-16779-3-git-send-email-zefir.kurtisi@neratec.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Zefir Kurtisi April 3, 2013, 4:32 p.m. UTC
From: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>

The concept of clearing a DFS channel with a CAC and open it for transmission
is not yet supported by the channel framework. This patch is required to
temporary remove the additional consideration of the flags that are anyhow
superposed by the DFS flag.

Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Zefir Kurtisi <zefir.kurtisi@neratec.com>
---
 net/wireless/chan.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/net/wireless/chan.c b/net/wireless/chan.c
index fd556ac..16d0ee7 100644
--- a/net/wireless/chan.c
+++ b/net/wireless/chan.c
@@ -425,8 +425,8 @@  bool cfg80211_reg_can_beacon(struct wiphy *wiphy,
 
 	res = cfg80211_chandef_usable(wiphy, chandef,
 				      IEEE80211_CHAN_DISABLED |
-				      IEEE80211_CHAN_PASSIVE_SCAN |
-				      IEEE80211_CHAN_NO_IBSS |
+//				      IEEE80211_CHAN_PASSIVE_SCAN |
+//				      IEEE80211_CHAN_NO_IBSS |
 				      IEEE80211_CHAN_RADAR);
 
 	trace_cfg80211_return_bool(res);