mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 09:39:25 +01:00
t-runner: add exit on hwsim failure
This commit is contained in:
parent
86e42a80e7
commit
eb6e3a5753
@ -1277,7 +1277,9 @@ static void create_network_and_run_tests(const void *key, void *value,
|
||||
|
||||
l_info("Configuring network...");
|
||||
|
||||
configure_hw_radios(hw_settings, hwsim_radio_ids, interface_names);
|
||||
if (!configure_hw_radios(hw_settings, hwsim_radio_ids,
|
||||
interface_names))
|
||||
goto exit_hwsim;
|
||||
|
||||
list_hwsim_radios();
|
||||
|
||||
@ -1305,6 +1307,7 @@ static void create_network_and_run_tests(const void *key, void *value,
|
||||
exit_hostapd:
|
||||
destroy_hostapd_instances(hostapd_pids);
|
||||
|
||||
exit_hwsim:
|
||||
destroy_hw_radios(hwsim_radio_ids, interface_names);
|
||||
|
||||
l_settings_free(hw_settings);
|
||||
|
Loading…
Reference in New Issue
Block a user