aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrejs Cainikovs <andrejs.cainikovs@sonymobile.com>2017-01-23 12:34:46 (GMT)
committerJouni Malinen <j@w1.fi>2017-01-29 16:41:29 (GMT)
commit6a5425fd602923c4855b7998fa6b869797bae648 (patch)
treed5ea0c5a32ecb593761e361528ebeec3bc976a36
parentcef8fac04b25bb0c648447513aee652b6f828256 (diff)
downloadhostap-6a5425fd602923c4855b7998fa6b869797bae648.zip
hostap-6a5425fd602923c4855b7998fa6b869797bae648.tar.gz
hostap-6a5425fd602923c4855b7998fa6b869797bae648.tar.bz2
Increase delayed EAPOL RX frame timeout
Increase the EAPOL RX frame timeout from 100 to 200 ms. This fixes lack of optimization (i.e., first EAPOL frame dropped) in occasional roaming and authentication cases on EAP networks if the kernel events can be reordered and delayed a bit longer. Signed-off-by: Tomoharu Hatano <tomoharu.hatano@sonymobile.com>
-rw-r--r--wpa_supplicant/events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index fcc94db..76805e0 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -2585,7 +2585,7 @@ static void wpa_supplicant_event_assoc(struct wpa_supplicant *wpa_s,
struct os_reltime now, age;
os_get_reltime(&now);
os_reltime_sub(&now, &wpa_s->pending_eapol_rx_time, &age);
- if (age.sec == 0 && age.usec < 100000 &&
+ if (age.sec == 0 && age.usec < 200000 &&
os_memcmp(wpa_s->pending_eapol_rx_src, bssid, ETH_ALEN) ==
0) {
wpa_dbg(wpa_s, MSG_DEBUG, "Process pending EAPOL "