mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-14 23:50:29 +01:00
wifi: remove unused code
This commit is contained in:
parent
582cb7d271
commit
3ed3485a2f
1 changed files with 0 additions and 4 deletions
|
|
@ -2419,7 +2419,6 @@ handle_auth_or_fail (NMDeviceWifi *self,
|
|||
{
|
||||
const char *setting_name;
|
||||
guint32 tries;
|
||||
NMAccessPoint *ap;
|
||||
NMConnection *connection;
|
||||
NMActStageReturn ret = NM_ACT_STAGE_RETURN_FAILURE;
|
||||
|
||||
|
|
@ -2433,9 +2432,6 @@ handle_auth_or_fail (NMDeviceWifi *self,
|
|||
connection = nm_act_request_get_connection (req);
|
||||
g_assert (connection);
|
||||
|
||||
ap = nm_device_wifi_get_activation_ap (self);
|
||||
g_assert (ap);
|
||||
|
||||
tries = GPOINTER_TO_UINT (g_object_get_data (G_OBJECT (connection), WIRELESS_SECRETS_TRIES));
|
||||
if (tries > 3)
|
||||
return NM_ACT_STAGE_RETURN_FAILURE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue