mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 06:29:23 +01:00
test-runner: fix iwd verbosity
Specifying --verbose iwd will now enable the -d flag for IWD
This commit is contained in:
parent
342ffc5652
commit
23b9963b20
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user