mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-17 17:39:28 +01:00
device: Print warning if device list isn't empty
This commit is contained in:
parent
de6dddce76
commit
22b599df5a
@ -1175,6 +1175,9 @@ bool device_init(void)
|
||||
|
||||
bool device_exit(void)
|
||||
{
|
||||
if (!l_queue_isempty(device_list))
|
||||
l_warn("device_list isn't empty!");
|
||||
|
||||
l_queue_destroy(device_list, device_free);
|
||||
device_list = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user