Skip to content

Commit deb2343

Browse files
author
Dmitry Shmidt
committed
Reset scan_ongoing flag if scan is canceled
Signed-off-by: Dmitry Shmidt <[email protected]>
1 parent 3936ce8 commit deb2343

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

wpa_supplicant.c

+1
Original file line numberDiff line numberDiff line change
@@ -534,6 +534,7 @@ void wpa_supplicant_cancel_scan(struct wpa_supplicant *wpa_s)
534534
{
535535
wpa_msg(wpa_s, MSG_DEBUG, "Cancelling scan request");
536536
eloop_cancel_timeout(wpa_supplicant_scan, wpa_s, NULL);
537+
wpa_s->scan_ongoing = 0;
537538
}
538539

539540

0 commit comments

Comments
 (0)