mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 23:09:34 +01:00
device: on connect error use network_connect_failed
This commit is contained in:
parent
63e11979ee
commit
8242e9b9aa
@ -591,8 +591,10 @@ static void device_connect_cb(struct netdev *netdev, enum netdev_result result,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (result != NETDEV_RESULT_OK) {
|
if (result != NETDEV_RESULT_OK) {
|
||||||
if (result != NETDEV_RESULT_ABORTED)
|
if (result != NETDEV_RESULT_ABORTED) {
|
||||||
|
network_connect_failed(device->connected_network);
|
||||||
device_disassociated(device);
|
device_disassociated(device);
|
||||||
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user