From: Jouni Malinen Date: Wed, 1 Jan 2020 10:33:57 +0000 (+0200) Subject: Clear SME auth_alg on FLUSH X-Git-Tag: hostap_2_10~2029 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f97baef25447d7a5814f137c1f531fcad1cb2c3a;p=thirdparty%2Fhostap.git Clear SME auth_alg on FLUSH 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 --- diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c index 00580b9c0..f89903d3d 100644 --- a/wpa_supplicant/ctrl_iface.c +++ b/wpa_supplicant/ctrl_iface.c @@ -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);