wlcore: don't stop sched_scan on interface removal

Stopping sched scan on interface removal (during recovery)
is no longer needed, as sched scanning is automatically
restarted by mac80211.

Signed-off-by: Barak Bercovitz <barak@wizery.com>
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Barak Bercovitz 2014-02-10 13:47:27 +02:00 committed by John W. Linville
parent 2a5ad92e27
commit 5a441f5ff7
1 changed files with 1 additions and 3 deletions

View File

@ -2582,10 +2582,8 @@ static void __wl1271_op_remove_interface(struct wl1271 *wl,
ieee80211_scan_completed(wl->hw, true);
}
if (wl->sched_vif == wlvif) {
ieee80211_sched_scan_stopped(wl->hw);
if (wl->sched_vif == wlvif)
wl->sched_vif = NULL;
}
if (wl->roc_vif == vif) {
wl->roc_vif = NULL;