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

View File

@ -1706,6 +1706,9 @@ bool eapol_init()
bool eapol_exit()
{
if (!l_queue_isempty(state_machines))
l_warn("stale eapol state machines found");
l_queue_destroy(state_machines, eapol_sm_destroy);
get_nonce = NULL;