From: Udhayakumar Mahendiran Date: Mon, 12 Oct 2020 11:15:29 +0000 (+0530) Subject: mesh: Stop SAE auth timer when mesh node is removed X-Git-Tag: hostap_2_10~849 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c41d43f1abd1685c0a11fe435e8834602baa442;p=thirdparty%2Fhostap.git mesh: Stop SAE auth timer when mesh node is removed Not doing this could cause wpa_supplicant to crash. Signed-off-by: Udhayakumar Mahendiran --- diff --git a/wpa_supplicant/mesh_mpm.c b/wpa_supplicant/mesh_mpm.c index 4547eea88..b6a5e8857 100644 --- a/wpa_supplicant/mesh_mpm.c +++ b/wpa_supplicant/mesh_mpm.c @@ -540,6 +540,7 @@ static int mesh_mpm_plink_close(struct hostapd_data *hapd, struct sta_info *sta, wpa_printf(MSG_DEBUG, "MPM closing plink sta=" MACSTR, MAC2STR(sta->addr)); eloop_cancel_timeout(plink_timer, wpa_s, sta); + eloop_cancel_timeout(mesh_auth_timer, wpa_s, sta); return 0; }