3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 23:09:34 +01:00

eapol: Free sm->timeout when it expires

This commit is contained in:
Andrew Zaborowski 2017-01-31 03:42:49 +01:00 committed by Denis Kenzior
parent e1dc53e895
commit 367f1ec798

View File

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