aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/wpa.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-11-30 15:22:51 (GMT)
committerJouni Malinen <j@w1.fi>2008-11-30 15:22:51 (GMT)
commita8d05fca5f14fc3b89cc408a58c47fad7470364e (patch)
tree7453dcec48deb3db75a27312a73dd4113a964449 /hostapd/wpa.h
parent0a40ec6a9059e7893970ff65554beac4782ecec4 (diff)
downloadhostap-06-a8d05fca5f14fc3b89cc408a58c47fad7470364e.zip
hostap-06-a8d05fca5f14fc3b89cc408a58c47fad7470364e.tar.gz
hostap-06-a8d05fca5f14fc3b89cc408a58c47fad7470364e.tar.bz2
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.
Diffstat (limited to 'hostapd/wpa.h')
-rw-r--r--hostapd/wpa.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hostapd/wpa.h b/hostapd/wpa.h
index 153106e..e347923 100644
--- a/hostapd/wpa.h
+++ b/hostapd/wpa.h
@@ -229,6 +229,7 @@ struct wpa_state_machine *
wpa_auth_sta_init(struct wpa_authenticator *wpa_auth, const u8 *addr);
void wpa_auth_sta_associated(struct wpa_authenticator *wpa_auth,
struct wpa_state_machine *sm);
+void wpa_auth_sta_no_wpa(struct wpa_state_machine *sm);
void wpa_auth_sta_deinit(struct wpa_state_machine *sm);
void wpa_receive(struct wpa_authenticator *wpa_auth,
struct wpa_state_machine *sm,