FT: Fixed FTIE for authentication after a failed association
authorJouni Malinen <jouni.malinen@atheros.com>
Mon, 1 Sep 2008 08:38:13 +0000 (11:38 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 1 Sep 2008 08:38:13 +0000 (11:38 +0300)
wpa_supplicant/ChangeLog
wpa_supplicant/wpa_supplicant.c

index 9b6d7b0..447d947 100644 (file)
@@ -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
index 4936a07..4c9482f 100644 (file)
@@ -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'",