mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 14:49:24 +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,
|
static pid_t start_iwd(const char *config_dir, struct l_queue *wiphy_list,
|
||||||
const char *ext_options)
|
const char *ext_options)
|
||||||
{
|
{
|
||||||
char *argv[11];
|
char *argv[12];
|
||||||
char *iwd_phys = NULL;
|
char *iwd_phys = NULL;
|
||||||
pid_t ret;
|
pid_t ret;
|
||||||
int idx = 0;
|
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++] = BIN_IWD;
|
||||||
argv[idx++] = "-c";
|
argv[idx++] = "-c";
|
||||||
argv[idx++] = (char *) config_dir;
|
argv[idx++] = (char *) config_dir;
|
||||||
|
|
||||||
|
if (check_verbosity(BIN_IWD))
|
||||||
|
argv[idx++] = "-d";
|
||||||
|
|
||||||
argv[idx] = NULL;
|
argv[idx] = NULL;
|
||||||
|
|
||||||
if (wiphy_list) {
|
if (wiphy_list) {
|
||||||
|
Loading…
Reference in New Issue
Block a user