freebsd11_wlan: Add missing mtx_destroy of the ic_list_mtx.

This commit is contained in:
Augustin Cavalier
2018-07-10 18:41:05 -04:00
parent 1a35344427
commit ecdc1bc8e7
@@ -112,6 +112,8 @@ init_wlan_stack(void)
void
uninit_wlan_stack(void)
{
mtx_destroy(&ic_list_mtx);
if (sNotificationModule != NULL)
put_module(NET_NOTIFICATIONS_MODULE_NAME);
}