3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 04:32:37 +01:00

test-runner: Register hwsim medium on startup

Actually run hwsim in the daemon mode to work as the wireless medium now
that hwsim supports it.  The current test-runner code, which assumed a
different command line syntax, wasn't functional but it didn't affect
test-runner in any way.
This commit is contained in:
Andrew Zaborowski 2017-03-14 00:51:22 +01:00 committed by Denis Kenzior
parent 2411d24c87
commit 3b8f9ba176

View File

@ -622,11 +622,10 @@ static bool destroy_hwsim_radio(int radio_id)
static pid_t register_hwsim_as_trans_medium(void)
{
char *argv[3];
char *argv[2];
argv[0] = BIN_HWSIM;
argv[1] = "--register";
argv[2] = NULL;
argv[1] = NULL;
return execute_program(argv, false);
}