diff options
Diffstat (limited to 'net/mac80211/mesh.c')
-rw-r--r-- | net/mac80211/mesh.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/mesh.c b/net/mac80211/mesh.c index aead5410c622..123a300cef57 100644 --- a/net/mac80211/mesh.c +++ b/net/mac80211/mesh.c | |||
@@ -1004,7 +1004,8 @@ void ieee80211_mesh_notify_scan_completed(struct ieee80211_local *local) | |||
1004 | 1004 | ||
1005 | rcu_read_lock(); | 1005 | rcu_read_lock(); |
1006 | list_for_each_entry_rcu(sdata, &local->interfaces, list) | 1006 | list_for_each_entry_rcu(sdata, &local->interfaces, list) |
1007 | if (ieee80211_vif_is_mesh(&sdata->vif)) | 1007 | if (ieee80211_vif_is_mesh(&sdata->vif) && |
1008 | ieee80211_sdata_running(sdata)) | ||
1008 | ieee80211_queue_work(&local->hw, &sdata->work); | 1009 | ieee80211_queue_work(&local->hw, &sdata->work); |
1009 | rcu_read_unlock(); | 1010 | rcu_read_unlock(); |
1010 | } | 1011 | } |