t-runner: Fix bug in min number of radios check

This commit is contained in:
Tim Kourt 2016-05-04 16:14:39 -07:00 committed by Denis Kenzior
parent 962653c0d6
commit b4e3c0d45d
1 changed files with 1 additions and 1 deletions

View File

@ -762,7 +762,7 @@ static bool configure_hw_radios(struct l_settings *hw_settings,
HW_CONFIG_SETUP_NUM_RADIOS,
&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\n",
HW_CONFIG_SETUP_NUM_RADIOS, HW_MIN_NUM_RADIOS);
return false;