3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-25 17:59:25 +01:00

eapol: In case of timeout, mark as NULL

This commit is contained in:
Denis Kenzior 2016-10-15 16:24:29 -05:00
parent bf65ce9096
commit cc2052d33e

View File

@ -928,6 +928,7 @@ static void eapol_timeout(struct l_timeout *timeout, void *user_data)
{
struct eapol_sm *sm = user_data;
sm->timeout = NULL;
handshake_failed(sm->ifindex, sm,
MPDU_REASON_CODE_4WAY_HANDSHAKE_TIMEOUT);
}