]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
mesh: Stop SAE auth timer when mesh node is removed
authorUdhayakumar Mahendiran <udhayakumar@qubercomm.com>
Mon, 12 Oct 2020 11:15:29 +0000 (16:45 +0530)
committerJouni Malinen <j@w1.fi>
Mon, 12 Oct 2020 17:16:12 +0000 (20:16 +0300)
Not doing this could cause wpa_supplicant to crash.

Signed-off-by: Udhayakumar Mahendiran <udhayakumar@qubercomm.com>
wpa_supplicant/mesh_mpm.c

index 4547eea884cd8c09f9695bf4837e412fca46ecbb..b6a5e8857db9aaa4dc8f68f3735cf3dd78ae06f6 100644 (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,
                           MAC2STR(sta->addr));
                eloop_cancel_timeout(plink_timer, wpa_s, sta);
+               eloop_cancel_timeout(mesh_auth_timer, wpa_s, sta);
                return 0;
        }