3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 06:29:23 +01:00

t-runner: Report if. removal status

This commit is contained in:
Tim Kourt 2016-06-14 16:48:59 -07:00 committed by Denis Kenzior
parent 7fa2ac7b67
commit 4d5e4b929c

View File

@ -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);
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++;