]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/mac80211/offchannel.c
Merge remote-tracking branch 'hid/for-next'
[karo-tx-linux.git] / net / mac80211 / offchannel.c
index acd1f71adc0386ab588f0939309e2367330f2b29..0c2a29484c07cdaaaf716b1f5ba0184d1047ee68 100644 (file)
@@ -394,6 +394,8 @@ void ieee80211_sw_roc_work(struct work_struct *work)
 
                if (started)
                        ieee80211_start_next_roc(local);
+               else if (list_empty(&local->roc_list))
+                       ieee80211_run_deferred_scan(local);
        }
 
  out_unlock: