mesh: Stop SAE auth timer when mesh node is removed

Not doing this could cause wpa_supplicant to crash.

Signed-off-by: Udhayakumar Mahendiran <udhayakumar@qubercomm.com>
This commit is contained in:
Udhayakumar Mahendiran 2020-10-12 16:45:29 +05:30 committed by Jouni Malinen
parent 267d619798
commit 6c41d43f1a

View File

@ -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, wpa_printf(MSG_DEBUG, "MPM closing plink sta=" MACSTR,
MAC2STR(sta->addr)); MAC2STR(sta->addr));
eloop_cancel_timeout(plink_timer, wpa_s, sta); eloop_cancel_timeout(plink_timer, wpa_s, sta);
eloop_cancel_timeout(mesh_auth_timer, wpa_s, sta);
return 0; return 0;
} }