t-runner: Bug fix in num radios check
This commit is contained in:
parent
eb6e3a5753
commit
6ee5d6b7c0
|
@ -773,7 +773,7 @@ static bool configure_hw_radios(struct l_settings *hw_settings,
|
||||||
HW_CONFIG_SETUP_NUM_RADIOS,
|
HW_CONFIG_SETUP_NUM_RADIOS,
|
||||||
&num_radios_requested);
|
&num_radios_requested);
|
||||||
|
|
||||||
if (num_radios_requested <= HW_MIN_NUM_RADIOS) {
|
if (num_radios_requested < HW_MIN_NUM_RADIOS) {
|
||||||
l_error("%s must be greater or equal to %d",
|
l_error("%s must be greater or equal to %d",
|
||||||
HW_CONFIG_SETUP_NUM_RADIOS, HW_MIN_NUM_RADIOS);
|
HW_CONFIG_SETUP_NUM_RADIOS, HW_MIN_NUM_RADIOS);
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue