From c6845259473f82578b5e49cff5b7e5df56bb3b1a Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Mon, 1 Sep 2008 11:38:13 +0300 Subject: [PATCH] FT: Fixed FTIE for authentication after a failed association --- wpa_supplicant/ChangeLog | 2 ++ wpa_supplicant/wpa_supplicant.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/wpa_supplicant/ChangeLog b/wpa_supplicant/ChangeLog index 9b6d7b0b0..447d947d3 100644 --- a/wpa_supplicant/ChangeLog +++ b/wpa_supplicant/ChangeLog @@ -6,6 +6,8 @@ ChangeLog for wpa_supplicant * updated management frame protection to use IEEE 802.11w/D6.0 * added support for using SHA256-based stronger key derivation for WPA2 (IEEE 802.11w) + * fixed FT (IEEE 802.11r) authentication after a failed association to + use correct FTIE 2008-08-10 - v0.6.4 * added support for EAP Sequences in EAP-FAST Phase 2 diff --git a/wpa_supplicant/wpa_supplicant.c b/wpa_supplicant/wpa_supplicant.c index 4936a078a..4c9482f6a 100644 --- a/wpa_supplicant/wpa_supplicant.c +++ b/wpa_supplicant/wpa_supplicant.c @@ -923,6 +923,8 @@ void wpa_supplicant_associate(struct wpa_supplicant *wpa_s, if (ie && ie[1] >= MOBILITY_DOMAIN_ID_LEN) md = ie + 2; wpa_sm_set_ft_params(wpa_s->wpa, md, NULL, 0, NULL); + /* Prepare for the next transition */ + wpa_ft_prepare_auth_request(wpa_s->wpa); #endif /* CONFIG_IEEE80211R */ } else { wpa_msg(wpa_s, MSG_INFO, "Trying to associate with SSID '%s'",