From 6ee5d6b7c0cabd70869c2854027efa25a89280c7 Mon Sep 17 00:00:00 2001 From: Tim Kourt Date: Fri, 13 May 2016 15:40:52 -0700 Subject: [PATCH] t-runner: Bug fix in num radios check --- tools/test-runner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/test-runner.c b/tools/test-runner.c index ebe75166..49b31d01 100644 --- a/tools/test-runner.c +++ b/tools/test-runner.c @@ -773,7 +773,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", HW_CONFIG_SETUP_NUM_RADIOS, HW_MIN_NUM_RADIOS); return false;