mirror of
				https://git.kernel.org/pub/scm/network/wireless/iwd.git
				synced 2025-11-04 00:37:22 +01:00 
			
		
		
		
	t-runner: Add params into hwsim create action
This commit is contained in:
		
							parent
							
								
									9536c27d35
								
							
						
					
					
						commit
						5e6912afd6
					
				@ -550,7 +550,7 @@ static int create_hwsim_radio(const char *radio_name,
 | 
			
		||||
				const unsigned int channels, bool p2p_device,
 | 
			
		||||
							bool use_chanctx)
 | 
			
		||||
{
 | 
			
		||||
	char *argv[6];
 | 
			
		||||
	char *argv[7];
 | 
			
		||||
	pid_t pid;
 | 
			
		||||
 | 
			
		||||
	if (chdir(exec_home + 5) < 0) {
 | 
			
		||||
@ -565,7 +565,8 @@ static int create_hwsim_radio(const char *radio_name,
 | 
			
		||||
	argv[2] = "--keep";
 | 
			
		||||
	argv[3] = "--name";
 | 
			
		||||
	argv[4] = (char *) radio_name;
 | 
			
		||||
	argv[5] = NULL;
 | 
			
		||||
	argv[5] = "--nointerface";
 | 
			
		||||
	argv[6] = NULL;
 | 
			
		||||
 | 
			
		||||
	pid = execute_program(argv, true);
 | 
			
		||||
	if (pid < 0)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user