wiphy: Use network_connect_failed
This commit is contained in:
parent
ad722cf004
commit
cefba4d735
|
@ -1237,14 +1237,7 @@ static void mlme_disconnect_event(struct l_genl_msg *msg,
|
||||||
dbus_pending_reply(&netdev->connect_pending,
|
dbus_pending_reply(&netdev->connect_pending,
|
||||||
dbus_error_failed(netdev->connect_pending));
|
dbus_error_failed(netdev->connect_pending));
|
||||||
|
|
||||||
/*
|
network_connect_failed(network);
|
||||||
* Connection failed, if PSK try asking for the passphrase
|
|
||||||
* once more
|
|
||||||
*/
|
|
||||||
if (network->security == SECURITY_PSK) {
|
|
||||||
network->update_psk = false;
|
|
||||||
network->ask_psk = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
netdev_disassociated(netdev);
|
netdev_disassociated(netdev);
|
||||||
|
|
Loading…
Reference in New Issue