diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-10-31 14:59:12 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-10-31 14:59:12 +0000 |
commit | 661d1efc8029408c0a1f09faa15339f95a6561d6 (patch) | |
tree | 99346b6ccc04ae3e5da1cbb07564c333f19b9317 /package/mac80211/patches/300-pending_work.patch | |
parent | c2f2b3f90301673756c6c1cf3f3734ee94c5f2c7 (diff) | |
download | upstream-661d1efc8029408c0a1f09faa15339f95a6561d6.tar.gz upstream-661d1efc8029408c0a1f09faa15339f95a6561d6.tar.bz2 upstream-661d1efc8029408c0a1f09faa15339f95a6561d6.zip |
mac80211: prevent reconfigure calls while interfaces are down
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 34030
Diffstat (limited to 'package/mac80211/patches/300-pending_work.patch')
-rw-r--r-- | package/mac80211/patches/300-pending_work.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/mac80211/patches/300-pending_work.patch b/package/mac80211/patches/300-pending_work.patch index 56f5af959b..577a8494c6 100644 --- a/package/mac80211/patches/300-pending_work.patch +++ b/package/mac80211/patches/300-pending_work.patch @@ -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: |