13 lines
489 B
Diff
13 lines
489 B
Diff
diff -up wpa_supplicant-0.5.7/wpa_supplicant.c.always-scan wpa_supplicant-0.5.7/wpa_supplicant.c
|
|
--- wpa_supplicant-0.5.7/wpa_supplicant.c.always-scan 2007-09-25 15:51:35.000000000 -0400
|
|
+++ wpa_supplicant-0.5.7/wpa_supplicant.c 2007-09-25 16:31:27.000000000 -0400
|
|
@@ -972,7 +972,7 @@ static void wpa_supplicant_scan(void *el
|
|
struct wpa_ssid *ssid;
|
|
int enabled, scan_req = 0, ret;
|
|
|
|
- if (wpa_s->disconnected)
|
|
+ if (wpa_s->disconnected && !wpa_s->scan_req)
|
|
return;
|
|
|
|
enabled = 0;
|