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
1 changed files with 1 additions and 0 deletions

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);
}