Clear various flags on re-association to allow key_mgmt changes
authorJouni Malinen <j@w1.fi>
Sun, 30 Nov 2008 15:22:51 +0000 (17:22 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 30 Nov 2008 15:22:51 +0000 (17:22 +0200)
commita8d05fca5f14fc3b89cc408a58c47fad7470364e
tree7453dcec48deb3db75a27312a73dd4113a964449
parent0a40ec6a9059e7893970ff65554beac4782ecec4
Clear various flags on re-association to allow key_mgmt changes

If a STA reassociates and changes key_mgmt (e.g., from WPA-PSK to WPS),
hostapd needs to reset some of the existing STA and WPA state machine
variables to allow correct processing for the new association.
hostapd/hostapd.c
hostapd/ieee802_11.c
hostapd/ieee802_1x.c
hostapd/wpa.c
hostapd/wpa.h