mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-06-19 11:18:28 +02:00
devices: fix a bug in activation logic
It *is* legitimate to (re-)activate a connection on an already-active device, so remove the newly-added "sanity check" preventing that. Pointed out by jklimes.
This commit is contained in:
parent
f5c29c9694
commit
43c4a45c4d
1 changed files with 0 additions and 3 deletions
|
|
@ -1353,9 +1353,6 @@ nm_device_can_activate (NMDevice *self)
|
|||
if (!priv->default_unmanaged && priv->state < NM_DEVICE_STATE_DISCONNECTED)
|
||||
return FALSE;
|
||||
|
||||
if (priv->state > NM_DEVICE_STATE_DISCONNECTED)
|
||||
return FALSE;
|
||||
|
||||
return nm_device_is_available (self);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue