mirror of
				https://git.kernel.org/pub/scm/network/wireless/iwd.git
				synced 2025-10-31 04:57:25 +01:00 
			
		
		
		
	network: reply to pending messages on network_unregister
If there is a connect_after_* message for ANQP or OWE hidden networks reply to these before unregistering the network.
This commit is contained in:
		
							parent
							
								
									8a43473504
								
							
						
					
					
						commit
						f45696485c
					
				| @ -1745,6 +1745,14 @@ static void network_unregister(struct network *network, int reason) | ||||
| { | ||||
| 	struct l_dbus *dbus = dbus_get_bus(); | ||||
| 
 | ||||
| 	if (network->connect_after_anqp) | ||||
| 		dbus_pending_reply(&network->connect_after_anqp, | ||||
| 			dbus_error_aborted(network->connect_after_anqp)); | ||||
| 
 | ||||
| 	if (network->connect_after_owe_hidden) | ||||
| 		dbus_pending_reply(&network->connect_after_owe_hidden, | ||||
| 			dbus_error_aborted(network->connect_after_owe_hidden)); | ||||
| 
 | ||||
| 	agent_request_cancel(network->agent_request, reason); | ||||
| 	network_settings_close(network); | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 James Prestwood
						James Prestwood