3
0
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:
Denis Kenzior 2016-07-20 15:34:21 -05:00
parent efbf56c0f2
commit 169222fb96

View File

@ -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;