diff options
Diffstat (limited to 'net/mac80211/util.c')
-rw-r--r-- | net/mac80211/util.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c index 707953fd8324..ffdfe4bc89ad 100644 --- a/net/mac80211/util.c +++ b/net/mac80211/util.c | |||
@@ -1714,6 +1714,13 @@ int ieee80211_reconfig(struct ieee80211_local *local) | |||
1714 | mb(); | 1714 | mb(); |
1715 | local->resuming = false; | 1715 | local->resuming = false; |
1716 | 1716 | ||
1717 | list_for_each_entry(sdata, &local->interfaces, list) { | ||
1718 | if (!ieee80211_sdata_running(sdata)) | ||
1719 | continue; | ||
1720 | if (sdata->vif.type == NL80211_IFTYPE_STATION) | ||
1721 | ieee80211_sta_restart(sdata); | ||
1722 | } | ||
1723 | |||
1717 | mod_timer(&local->sta_cleanup, jiffies + 1); | 1724 | mod_timer(&local->sta_cleanup, jiffies + 1); |
1718 | #else | 1725 | #else |
1719 | WARN_ON(1); | 1726 | WARN_ON(1); |