3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 13:02:44 +01:00

wiphy: Use network_connect_failed

This commit is contained in:
Denis Kenzior 2016-05-16 15:45:07 -05:00
parent ad722cf004
commit cefba4d735

View File

@ -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);