mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-02-16 23:40:43 +01:00
eapol: Free sm->timeout when it expires
This commit is contained in:
parent
e1dc53e895
commit
367f1ec798
@ -800,7 +800,9 @@ static void eapol_timeout(struct l_timeout *timeout, void *user_data)
|
|||||||
{
|
{
|
||||||
struct eapol_sm *sm = user_data;
|
struct eapol_sm *sm = user_data;
|
||||||
|
|
||||||
|
l_timeout_remove(sm->timeout);
|
||||||
sm->timeout = NULL;
|
sm->timeout = NULL;
|
||||||
|
|
||||||
handshake_failed(sm, MPDU_REASON_CODE_4WAY_HANDSHAKE_TIMEOUT);
|
handshake_failed(sm, MPDU_REASON_CODE_4WAY_HANDSHAKE_TIMEOUT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user