Clear EAPOL authenticator authFail for PMKSA caching/FT
authorJouni Malinen <j@w1.fi>
Sat, 4 Feb 2012 10:21:42 +0000 (12:21 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 4 Feb 2012 10:21:42 +0000 (12:21 +0200)
commitc7bce24dc9695ac6b0281b32b92b64dac6967e17
tree8ae3e11a2347938ba083eb79ac13bcf2cadc8a3e
parentd9a38716ccf90b0ab307f570a30931684a1b8730
Clear EAPOL authenticator authFail for PMKSA caching/FT

This fixes a corner case where a STA that has PMKSA cache entry (or
valid FT keys) could try to use full EAPOL/EAP authentication and fail.
If the STA will then try to use the still valid PMKSA cache entry (or
FT) before the STA entry has been cleared, authFail could have been left
to TRUE. That will make EAPOL authenticator PAE state machine enter HELD
state even though authSuccess was already forced to TRUE. This results
in the STA getting disconnected even though it should be allowed to
continue with 4-way handshake. While this is unlikely to happen in
practice, it is better to get this fixed by clearing authFail when
setting authSuccess.

Signed-hostap: Jouni Malinen <j@w1.fi>
intended-for: hostap-1
src/ap/ieee802_1x.c