mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-21 22:09:23 +01:00
t-runner: Report if. removal status
This commit is contained in:
parent
7fa2ac7b67
commit
4d5e4b929c
@ -918,9 +918,11 @@ static void destroy_hw_radios(int hwsim_radio_ids[])
|
||||
if_name = l_strdup_printf("%s%d", HW_INTERFACE_PREFIX, i);
|
||||
|
||||
set_interface_state(if_name, HW_INTERFACE_STATE_DOWN);
|
||||
delete_interface(if_name);
|
||||
|
||||
l_debug("Removed interface %s", if_name);
|
||||
if (delete_interface(if_name))
|
||||
l_debug("Removed interface %s", if_name);
|
||||
else
|
||||
l_error("Failed to remove interface %s", if_name);
|
||||
|
||||
l_free(if_name);
|
||||
i++;
|
||||
|
Loading…
Reference in New Issue
Block a user