|
@@ -208,6 +208,9 @@ static void wpas_trigger_scan_cb(struct wpa_radio_work *work, int deinit)
|
|
|
/* Restore scan_req since we will try to scan again */
|
|
|
wpa_s->scan_req = wpa_s->last_scan_req;
|
|
|
wpa_supplicant_req_scan(wpa_s, 1, 0);
|
|
|
+ } else if (wpa_s->scan_res_handler) {
|
|
|
+ /* Clear the scan_res_handler */
|
|
|
+ wpa_s->scan_res_handler = NULL;
|
|
|
}
|
|
|
return;
|
|
|
}
|