Commit 5a441f5f authored by Barak Bercovitz's avatar Barak Bercovitz Committed by John W. Linville

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: default avatarBarak Bercovitz <barak@wizery.com>
Signed-off-by: default avatarEliad Peller <eliad@wizery.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 2a5ad92e
...@@ -2582,10 +2582,8 @@ static void __wl1271_op_remove_interface(struct wl1271 *wl, ...@@ -2582,10 +2582,8 @@ static void __wl1271_op_remove_interface(struct wl1271 *wl,
ieee80211_scan_completed(wl->hw, true); ieee80211_scan_completed(wl->hw, true);
} }
if (wl->sched_vif == wlvif) { if (wl->sched_vif == wlvif)
ieee80211_sched_scan_stopped(wl->hw);
wl->sched_vif = NULL; wl->sched_vif = NULL;
}
if (wl->roc_vif == vif) { if (wl->roc_vif == vif) {
wl->roc_vif = NULL; wl->roc_vif = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment