projects
/
libeap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cd8273
)
Try to start a new scan more quickly after driver rejection
author
Jouni Malinen
<jouni.malinen@atheros.com>
Sun, 11 Apr 2010 16:56:23 +0000
(19:56 +0300)
committer
Jouni Malinen
<j@w1.fi>
Sun, 11 Apr 2010 16:56:23 +0000
(19:56 +0300)
This speeds up recovery from some cases where the driver may refuse
a new scan request command temporarily.
wpa_supplicant/scan.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/scan.c
b/wpa_supplicant/scan.c
index
610d56b
..
458b981
100644
(file)
--- a/
wpa_supplicant/scan.c
+++ b/
wpa_supplicant/scan.c
@@
-425,7
+425,7
@@
static void wpa_supplicant_scan(void *eloop_ctx, void *timeout_ctx)
wpa_printf(MSG_WARNING, "Failed to initiate AP scan.");
if (prev_state != wpa_s->wpa_state)
wpa_supplicant_set_state(wpa_s, prev_state);
- wpa_supplicant_req_scan(wpa_s, 1
0
, 0);
+ wpa_supplicant_req_scan(wpa_s, 1, 0);
} else
wpa_s->scan_runs++;
}