summaryrefslogtreecommitdiffstats
path: root/net/mac80211/util.c
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2013-05-20 15:19:01 -0400
committerJohn W. Linville <linville@tuxdriver.com>2013-05-20 15:19:01 -0400
commitba7c96bec59d1c11cf9eaf6489e70e22f53da31b (patch)
tree6d5c92ee3b4fa2d422f11d05da308a7cde614a5f /net/mac80211/util.c
parent057cf65e4f715f62acccbd9125cf63eddfe69d30 (diff)
parent6bb4880d9ef30375da4507aeabd6dc261a2c6c2b (diff)
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless into for-davem
Diffstat (limited to 'net/mac80211/util.c')
-rw-r--r--net/mac80211/util.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c
index 3f87fa468b1..27e07150eb4 100644
--- a/net/mac80211/util.c
+++ b/net/mac80211/util.c
@@ -1740,6 +1740,13 @@ int ieee80211_reconfig(struct ieee80211_local *local)
mb();
local->resuming = false;
+ list_for_each_entry(sdata, &local->interfaces, list) {
+ if (!ieee80211_sdata_running(sdata))
+ continue;
+ if (sdata->vif.type == NL80211_IFTYPE_STATION)
+ ieee80211_sta_restart(sdata);
+ }
+
mod_timer(&local->sta_cleanup, jiffies + 1);
#else
WARN_ON(1);