mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-27 03:19:24 +01:00
eapol: warn if state machine list isn't empty
This commit is contained in:
parent
efbf56c0f2
commit
169222fb96
@ -1706,6 +1706,9 @@ bool eapol_init()
|
|||||||
|
|
||||||
bool eapol_exit()
|
bool eapol_exit()
|
||||||
{
|
{
|
||||||
|
if (!l_queue_isempty(state_machines))
|
||||||
|
l_warn("stale eapol state machines found");
|
||||||
|
|
||||||
l_queue_destroy(state_machines, eapol_sm_destroy);
|
l_queue_destroy(state_machines, eapol_sm_destroy);
|
||||||
get_nonce = NULL;
|
get_nonce = NULL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user