]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Clear SME auth_alg on FLUSH
authorJouni Malinen <j@w1.fi>
Wed, 1 Jan 2020 10:33:57 +0000 (12:33 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 1 Jan 2020 10:33:57 +0000 (12:33 +0200)
This avoids a testing failure in the following test case sequence:
ap_ft_r1_key_expiration ap_open_external_assoc

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/ctrl_iface.c

index 00580b9c060e5690516d538fd13e051b4b6e1730..f89903d3d3fb3242c3131e365051079b030c3bba 100644 (file)
@@ -8136,6 +8136,7 @@ static void wpa_supplicant_ctrl_iface_flush(struct wpa_supplicant *wpa_s)
 
 #ifdef CONFIG_SME
        wpa_s->sme.last_unprot_disconnect.sec = 0;
+       wpa_s->sme.auth_alg = 0;
 #endif /* CONFIG_SME */
 
        wpabuf_free(wpa_s->ric_ies);