* [RFC] mac80211: clear radar_required while setting up sdata
@ 2015-04-21 13:32 Rajkumar Manoharan
2015-04-21 13:45 ` Rajkumar Manoharan
0 siblings, 1 reply; 2+ messages in thread
From: Rajkumar Manoharan @ 2015-04-21 13:32 UTC (permalink / raw)
To: johannes; +Cc: linville, linux-wireless, Rajkumar Manoharan
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(+)
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;
--
2.3.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [RFC] mac80211: clear radar_required while setting up sdata
2015-04-21 13:32 [RFC] mac80211: clear radar_required while setting up sdata Rajkumar Manoharan
@ 2015-04-21 13:45 ` Rajkumar Manoharan
0 siblings, 0 replies; 2+ messages in thread
From: Rajkumar Manoharan @ 2015-04-21 13:45 UTC (permalink / raw)
To: johannes; +Cc: linville, linux-wireless
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-04-21 13:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-21 13:32 [RFC] mac80211: clear radar_required while setting up sdata Rajkumar Manoharan
2015-04-21 13:45 ` Rajkumar Manoharan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).