aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2008-09-01 08:38:13 (GMT)
committerJouni Malinen <j@w1.fi>2008-09-01 08:38:13 (GMT)
commitc6845259473f82578b5e49cff5b7e5df56bb3b1a (patch)
tree59ec2b90ff1abb0aa2a939e3e164ce1e427e0ae8
parentb27f13ed281b4454236cb85801582c46f95fa349 (diff)
downloadhostap-c6845259473f82578b5e49cff5b7e5df56bb3b1a.zip
hostap-c6845259473f82578b5e49cff5b7e5df56bb3b1a.tar.gz
hostap-c6845259473f82578b5e49cff5b7e5df56bb3b1a.tar.bz2
FT: Fixed FTIE for authentication after a failed association
-rw-r--r--wpa_supplicant/ChangeLog2
-rw-r--r--wpa_supplicant/wpa_supplicant.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/wpa_supplicant/ChangeLog b/wpa_supplicant/ChangeLog
index 9b6d7b0..447d947 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 4936a07..4c9482f 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'",