]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/wpa_supplicant.c
Always clear EAP altAccept and altReject variables on new association
authorJouni Malinen <j@w1.fi>
Sun, 30 Nov 2008 14:54:16 +0000 (16:54 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 30 Nov 2008 14:54:16 +0000 (16:54 +0200)
commit0a40ec6a9059e7893970ff65554beac4782ecec4
tree4c1ab60bee5e2a220c10fea34ba07025755214a8
parent351f09a2218263ccee52c0f73ab7863a7364cf42
Always clear EAP altAccept and altReject variables on new association

Previously, this was only done when the new connection is using
WPA-Personal. However, it looks like it was possible to trigger an
infinite busy loop if altAccept or altReject were left set to true and
an EAPOL frame is received (eapolEap is set to true). Clearing altAccept
and altReject for each association prevents this loop from happening in
the beginning of the next association.
wpa_supplicant/wpa_supplicant.c