From 6c41d43f1abd1685c0a11fe435e8834602baa442 Mon Sep 17 00:00:00 2001 From: Udhayakumar Mahendiran Date: Mon, 12 Oct 2020 16:45:29 +0530 Subject: [PATCH] mesh: Stop SAE auth timer when mesh node is removed Not doing this could cause wpa_supplicant to crash. Signed-off-by: Udhayakumar Mahendiran --- wpa_supplicant/mesh_mpm.c | 1 + 1 file changed, 1 insertion(+) 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; }