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

test-runner: fix iwd verbosity

Specifying --verbose iwd will now enable the -d flag for IWD
This commit is contained in:
James Prestwood 2018-05-21 15:45:11 -07:00 committed by Denis Kenzior
parent 342ffc5652
commit 23b9963b20

View File

@ -1247,7 +1247,7 @@ done:
static pid_t start_iwd(const char *config_dir, struct l_queue *wiphy_list,
const char *ext_options)
{
char *argv[11];
char *argv[12];
char *iwd_phys = NULL;
pid_t ret;
int idx = 0;
@ -1265,6 +1265,10 @@ static pid_t start_iwd(const char *config_dir, struct l_queue *wiphy_list,
argv[idx++] = BIN_IWD;
argv[idx++] = "-c";
argv[idx++] = (char *) config_dir;
if (check_verbosity(BIN_IWD))
argv[idx++] = "-d";
argv[idx] = NULL;
if (wiphy_list) {