aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/mlme.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-04-22 09:31:43 -0400
committerJohannes Berg <johannes.berg@intel.com>2013-04-22 09:31:43 -0400
commita42c74ee608a424342ef7069ccddf196d873040c (patch)
tree75adfb9f5e06ebb7c7d5d5e5a5408fa0d6d504b9 /net/mac80211/mlme.c
parent97990a060e6757f48b931a3946b17c1c4362c3fb (diff)
parent9b383672452bb1097124c76fcb4903e0021f6baf (diff)
Merge remote-tracking branch 'wireless-next/master' into mac80211-next
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r--net/mac80211/mlme.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index c7860d0450dd..f7beb12abde2 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -3665,8 +3665,10 @@ void ieee80211_mlme_notify_scan_completed(struct ieee80211_local *local)
3665 3665
3666 /* Restart STA timers */ 3666 /* Restart STA timers */
3667 rcu_read_lock(); 3667 rcu_read_lock();
3668 list_for_each_entry_rcu(sdata, &local->interfaces, list) 3668 list_for_each_entry_rcu(sdata, &local->interfaces, list) {
3669 ieee80211_restart_sta_timer(sdata); 3669 if (ieee80211_sdata_running(sdata))
3670 ieee80211_restart_sta_timer(sdata);
3671 }
3670 rcu_read_unlock(); 3672 rcu_read_unlock();
3671} 3673}
3672 3674