|
@@ -248,6 +248,7 @@ static void ieee80211_restart_work(struct work_struct *work)
|
|
|
|
|
|
/* wait for scan work complete */
|
|
/* wait for scan work complete */
|
|
flush_workqueue(local->workqueue);
|
|
flush_workqueue(local->workqueue);
|
|
|
|
+ flush_work(&local->sched_scan_stopped_work);
|
|
|
|
|
|
WARN(test_bit(SCAN_HW_SCANNING, &local->scanning),
|
|
WARN(test_bit(SCAN_HW_SCANNING, &local->scanning),
|
|
"%s called with hardware scan in progress\n", __func__);
|
|
"%s called with hardware scan in progress\n", __func__);
|