projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6dbda2d
)
mac80211: do not call ieee80211_configure_filter if no interfaces are up
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 31 Oct 2012 14:50:34 +0000
(15:50 +0100)
committer
Johannes Berg
<johannes.berg@intel.com>
Wed, 31 Oct 2012 15:53:34 +0000
(16:53 +0100)
Drivers are not expected to handle it before drv_start has been called. It
will be called again after an interface has been brought up.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
patch
|
blob
|
blame
|
history
diff --git
a/net/mac80211/cfg.c
b/net/mac80211/cfg.c
index 05f3a313db8852b36c677cad188fd7154d6564ef..7371f676cf412e54481751d36bf757f42dfa5134 100644
(file)
--- a/
net/mac80211/cfg.c
+++ b/
net/mac80211/cfg.c
@@
-2594,6
+2594,9
@@
static void ieee80211_mgmt_frame_register(struct wiphy *wiphy,
else
local->probe_req_reg--;
+ if (!local->open_count)
+ break;
+
ieee80211_queue_work(&local->hw, &local->reconfig_filter);
break;
default: