mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-21 11:52:34 +01:00
wiphy: Don't crash if called outside D-Bus
This commit is contained in:
parent
002ca518c9
commit
f055c22825
@ -1442,8 +1442,10 @@ static void mlme_authenticate_event(struct l_genl_msg *msg,
|
||||
return;
|
||||
|
||||
error:
|
||||
if (netdev->connect_pending)
|
||||
dbus_pending_reply(&netdev->connect_pending,
|
||||
dbus_error_failed(netdev->connect_pending));
|
||||
|
||||
netdev_disassociated(netdev);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user