mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-21 22:09:23 +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:
parent
2411d24c87
commit
3b8f9ba176
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user