esp_wifi: done beacon monitor timer and eloop timer when deinit

This commit is contained in:
muhaidong 2022-08-09 16:49:42 +08:00
parent f444aa4a7c
commit 36feb95a9e
2 changed files with 2 additions and 1 deletions

@ -1 +1 @@
Subproject commit fd23b3bc66102918dd0ce6492997f7cfdd6e86c0
Subproject commit cf381efc7ebd3c607fd9ab00599bb71c95fcc305

View File

@ -366,5 +366,6 @@ void eloop_destroy(void)
eloop_data_lock = NULL;
}
os_timer_disarm(&eloop.eloop_timer);
os_timer_done(&eloop.eloop_timer);
os_memset(&eloop, 0, sizeof(eloop));
}