]> git.ipfire.org Git - thirdparty/hostap.git/commit
Fix EAP/WPS to PSK transition on reassociation in authenticator
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 10 Apr 2012 18:30:46 +0000 (21:30 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 10 Apr 2012 18:30:46 +0000 (21:30 +0300)
commit31b4961f02f222a5446988cd9f5f7d63acdd0508
treeffd39ebfefbfe457c0b169cc177dd93677f9e2a2
parentd3bd0f057c8550619a19c08a5dc367b09f7b3e85
Fix EAP/WPS to PSK transition on reassociation in authenticator

A station may move from EAP/WPS key_mgmt to PSK using re-association. In
practice, this can happen most likely with WPS when the station runs
through the provisioning step (EAP/WPS) followed by PSK authentication.
If a deauthentication event is missed from the station for whatever
reason, the EAPOL authenticator state machine could have been left
running.

This can result in various issues, including unexpected disconnection of
the station while both the 4-way handshake and EAPOL authenticator state
machines (EAP) are running at the same time when the supplicant is
trying to use PSK. Fix this by explicitly clearing EAPOL authenticator
state machine on (re)association if the new association does not use it.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
intended-for: hostap-1
src/ap/ieee802_1x.c