Permalink
Browse files

Reset scan_ongoing flag if scan is canceled

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
  • Loading branch information...
1 parent 3936ce8 commit deb2343c4bb2fb43eba41ed048cd255c9c5653e3 Dmitry Shmidt committed Feb 26, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 wpa_supplicant.c
View
@@ -534,6 +534,7 @@ void wpa_supplicant_cancel_scan(struct wpa_supplicant *wpa_s)
{
wpa_msg(wpa_s, MSG_DEBUG, "Cancelling scan request");
eloop_cancel_timeout(wpa_supplicant_scan, wpa_s, NULL);
+ wpa_s->scan_ongoing = 0;
}

0 comments on commit deb2343

Please sign in to comment.