Fix fallback from failed PMKSA caching into full EAP authentication
authorJouni Malinen <j@w1.fi>
Sat, 1 May 2010 14:35:28 +0000 (17:35 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 1 May 2010 14:35:28 +0000 (17:35 +0300)
commitb4a1256d3660a2b5239062a9b42de79b8a34286a
treea71667075111d27b90ad8270903bf7e1183d09eb
parent439d4bf96086b40703720ac50e1118220a65fd58
Fix fallback from failed PMKSA caching into full EAP authentication

Commit 83935317a78fb4157eb6e5134527b9311dbf7b8c added forced
disconnection in case of 4-way handshake failures. However, it should
not have changed the case where the supplicant is requesting fallback
to full EAP authentication if the PMKID in EAPOL-Key message 1/4 is
not know. This case needs to send an EAPOL-Start frame instead of
EAPOL-Key message 2/4.

This works around a problem with APs that try to force PMKSA caching
even when the client does not include PMKID in (re)association request
frame to request it. [Bug 355]
src/rsn_supp/wpa.c