From: Andrejs Cainikovs Date: Mon, 23 Jan 2017 12:34:46 +0000 (+0900) Subject: Increase delayed EAPOL RX frame timeout X-Git-Tag: hostap_2_7~1710 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6a5425fd602923c4855b7998fa6b869797bae648;p=thirdparty%2Fhostap.git 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 --- diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c index fcc94dbd3..76805e08c 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 "