[PATCH] mesh: Stop SAE auth timer when mesh node is removed

Udhayakumar Mahendiran udhayakumar at qubercomm.com
Mon Oct 12 07:15:29 EDT 2020


Not doing this causes wpa_supplicant to crash.

Signed-off-by: Udhayakumar Mahendiran <udhayakumar at qubercomm.com>
---
 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 ddcc33d..9a7a5d8 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;
 	}
 
-- 
2.7.4




More information about the Hostap mailing list