3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 21:22:37 +01:00

ap: Fix leaking of ap->wsc_pbc_timeout

This commit is contained in:
Andrew Zaborowski 2021-06-04 03:50:40 +02:00 committed by Denis Kenzior
parent aa9a914975
commit ec9260fa0c

View File

@ -211,6 +211,7 @@ static void ap_reset(struct ap_state *ap)
l_uintset_free(ap->rates); l_uintset_free(ap->rates);
l_queue_destroy(ap->wsc_pbc_probes, l_free); l_queue_destroy(ap->wsc_pbc_probes, l_free);
l_timeout_remove(ap->wsc_pbc_timeout);
ap->started = false; ap->started = false;