3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-25 09:39:25 +01:00

t-runner: fix bug in check for radio configs

This commit is contained in:
Tim Kourt 2016-05-13 15:40:53 -07:00 committed by Denis Kenzior
parent 6ee5d6b7c0
commit 1f6939016d

View File

@ -779,12 +779,13 @@ static bool configure_hw_radios(struct l_settings *hw_settings,
return false;
}
has_hw_conf = l_settings_has_key(hw_settings, HW_CONFIG_GROUP_SETUP,
HW_CONFIG_SETUP_RADIO_CONFS);
radio_conf_list =
l_settings_get_string_list(hw_settings, HW_CONFIG_GROUP_SETUP,
HW_CONFIG_SETUP_RADIO_CONFS,
':');
if (!radio_conf_list)
has_hw_conf = true;
num_radios_created = 0;
i = 0;