diff options
Diffstat (limited to 'meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.2/wpa_supplicant-0.5.7-always-scan.patch')
-rw-r--r-- | meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.2/wpa_supplicant-0.5.7-always-scan.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.2/wpa_supplicant-0.5.7-always-scan.patch b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.2/wpa_supplicant-0.5.7-always-scan.patch new file mode 100644 index 0000000000..25afd07a11 --- /dev/null +++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.2/wpa_supplicant-0.5.7-always-scan.patch | |||
@@ -0,0 +1,12 @@ | |||
1 | diff -up wpa_supplicant-0.5.7/wpa_supplicant.c.always-scan wpa_supplicant-0.5.7/wpa_supplicant.c | ||
2 | --- wpa_supplicant-0.5.7/wpa_supplicant.c.always-scan 2007-09-25 15:51:35.000000000 -0400 | ||
3 | +++ wpa_supplicant-0.5.7/wpa_supplicant.c 2007-09-25 16:31:27.000000000 -0400 | ||
4 | @@ -972,7 +972,7 @@ static void wpa_supplicant_scan(void *el | ||
5 | struct wpa_ssid *ssid; | ||
6 | int enabled, scan_req = 0, ret; | ||
7 | |||
8 | - if (wpa_s->disconnected) | ||
9 | + if (wpa_s->disconnected && !wpa_s->scan_req) | ||
10 | return; | ||
11 | |||
12 | enabled = 0; | ||