Search Linux Wireless

[RFC] mac80211: clear radar_required while setting up sdata

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx>
---
 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

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




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux