diff mbox

[RFC] mac80211: clear radar_required while setting up sdata

Message ID 1429623125-9484-1-git-send-email-rmanohar@qti.qualcomm.com (mailing list archive)
State RFC
Headers show

Commit Message

Rajkumar Manoharan April 21, 2015, 1:32 p.m. UTC
The commit "mac80211: don't defer scans in case of radar detection"
drops scan requests when interface is running on radar channel.
Once the AP interface is brought up on DFS channel,
sdata->radar_required never be cleared on deinit path unless the
interface is deleted. This is causing failures while restarting hostapd.

Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
---
 net/mac80211/iface.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Rajkumar Manoharan April 21, 2015, 1:45 p.m. UTC | #1
On Tue, Apr 21, 2015 at 07:02:05PM +0530, Rajkumar Manoharan wrote:
> The commit "mac80211: don't defer scans in case of radar detection"
> drops scan requests when interface is running on radar channel.
> Once the AP interface is brought up on DFS channel,
> sdata->radar_required never be cleared on deinit path unless the
> interface is deleted. This is causing failures while restarting hostapd.
> 
Sorry for the noise. It is already taken care by

Author: Eliad Peller <eliad@wizery.com>
Date:   Sun Feb 8 12:36:07 2015 +0200

    mac80211: clear sdata->radar_required

-Rajkumar
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c
index b4ac596..c764eb0 100644
--- a/net/mac80211/iface.c
+++ b/net/mac80211/iface.c
@@ -1341,6 +1341,7 @@  static void ieee80211_setup_sdata(struct ieee80211_sub_if_data *sdata,
 	sdata->control_port_no_encrypt = false;
 	sdata->encrypt_headroom = IEEE80211_ENCRYPT_HEADROOM;
 	sdata->vif.bss_conf.idle = true;
+	sdata->radar_required = false;
 
 	sdata->noack_map = 0;