When we stop sched scan during connection, we shouldn't
call ieee80211_sched_scan_stopped directly, but do it
in the normal flow, as part of the SCHED_SCAN_COMPLETED
event handling.
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
wlvif->band);
/* we only support sched_scan while not connected */
- if (wl->sched_scanning) {
+ if (wl->sched_scanning)
wl1271_scan_sched_scan_stop(wl, wlvif);
- ieee80211_sched_scan_stopped(wl->hw);
- }
ret = wl1271_acx_sta_rate_policies(wl, wlvif);
if (ret < 0)