Fix EAP state machine reset with offloaded roaming and authorization
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 10 Aug 2016 20:51:21 +0000 (23:51 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 11 Aug 2016 13:05:45 +0000 (16:05 +0300)
commite07adb7faa46de96172594bf9cd3600933daf18b
treea957131cb7a2be50af0695820953006d812618bf
parent2d6a526ac3885605f34df4037fc79ad330565b23
Fix EAP state machine reset with offloaded roaming and authorization

If the driver indicates a roamed event with already completed
authorization, altAccept = TRUE could have resulted in the EAP state
machine ending up in the FAILURE state from the INITIALIZE state. This
is not correct behavior and similar cases were already addressed for FT
and WPA-PSK. Fix the offloaded roamed+authorized (EAP/PMKSA caching)
case by doing similar changes to EAPOL/EAP state variable updates during
association event handling.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/events.c