mirror of
				https://git.kernel.org/pub/scm/network/wireless/iwd.git
				synced 2025-10-31 04:57:25 +01:00 
			
		
		
		
	wiphy: Return an error if agent request fails
If there is no agent registered, then the caller should not be hanging without a response forever.
This commit is contained in:
		
							parent
							
								
									141a1831c0
								
							
						
					
					
						commit
						842eb643eb
					
				| @ -338,6 +338,10 @@ static struct l_dbus_message *network_connect(struct l_dbus *dbus, | ||||
| 						network->object_path, | ||||
| 						passphrase_callback, | ||||
| 						network); | ||||
| 
 | ||||
| 			if (!network->agent_request) | ||||
| 				return dbus_error_no_agent(message); | ||||
| 
 | ||||
| 			break; | ||||
| 		} | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Denis Kenzior
						Denis Kenzior