aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/wpa_auth_i.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2011-11-17 20:59:31 (GMT)
committerJouni Malinen <j@w1.fi>2011-11-17 20:59:31 (GMT)
commit0d442affb6062c354687f360247b1a8c7bbd608a (patch)
treedaa24dd4acf5e132ecf6e819aeebfd6f9416279e /src/ap/wpa_auth_i.h
parente9447a94c04b0f7f450d6c072a7d4037c30d3558 (diff)
downloadhostap-0d442affb6062c354687f360247b1a8c7bbd608a.zip
hostap-0d442affb6062c354687f360247b1a8c7bbd608a.tar.gz
hostap-0d442affb6062c354687f360247b1a8c7bbd608a.tar.bz2
Set Secure=1 for EAPOL-Key msg 3/4 in WPA conditional on 2/4
This is a workaround for Windows 7 supplicant rejecting WPA msg 3/4 in case it used Secure=1 in msg 2/4. This can happen, e.g., when rekeying PTK after EAPOL-Key Error Request (Michael MIC failure) from the supplicant. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/ap/wpa_auth_i.h')
-rw-r--r--src/ap/wpa_auth_i.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ap/wpa_auth_i.h b/src/ap/wpa_auth_i.h
index 67a5c3b..d82192a 100644
--- a/src/ap/wpa_auth_i.h
+++ b/src/ap/wpa_auth_i.h
@@ -86,6 +86,7 @@ struct wpa_state_machine {
unsigned int pending_deinit:1;
unsigned int started:1;
unsigned int mgmt_frame_prot:1;
+ unsigned int rx_eapol_key_secure:1;
#ifdef CONFIG_IEEE80211R
unsigned int ft_completed:1;
unsigned int pmk_r1_name_valid:1;