mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-03 10:32:33 +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…
Reference in New Issue
Block a user