mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
mac80211: prevent reconfigure calls while interfaces are down
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34030 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -774,3 +774,15 @@
|
||||
txok = false;
|
||||
|
||||
isaggr = bf_isaggr(bf);
|
||||
--- a/net/mac80211/cfg.c
|
||||
+++ b/net/mac80211/cfg.c
|
||||
@@ -2563,6 +2563,9 @@ static void ieee80211_mgmt_frame_registe
|
||||
else
|
||||
local->probe_req_reg--;
|
||||
|
||||
+ if (!local->open_count)
|
||||
+ break;
|
||||
+
|
||||
ieee80211_queue_work(&local->hw, &local->reconfig_filter);
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user