mirror of
				https://git.kernel.org/pub/scm/network/wireless/iwd.git
				synced 2025-10-29 19:17:31 +01:00 
			
		
		
		
	station: Check if busy in station_get_diagnostics
This commit is contained in:
		
							parent
							
								
									653821c521
								
							
						
					
					
						commit
						002fc2d632
					
				| @ -3769,6 +3769,9 @@ static struct l_dbus_message *station_get_diagnostics(struct l_dbus *dbus, | ||||
| 	struct station *station = user_data; | ||||
| 	int ret; | ||||
| 
 | ||||
| 	if (station->get_station_pending) | ||||
| 		return dbus_error_busy(message); | ||||
| 
 | ||||
| 	ret = netdev_get_current_station(station->netdev, | ||||
| 				station_get_diagnostic_cb, station, | ||||
| 				station_get_diagnostic_destroy); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Andrew Zaborowski
						Andrew Zaborowski