diff options
Diffstat (limited to 'src/core/nm-active-connection.c')
| -rw-r--r-- | src/core/nm-active-connection.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/nm-active-connection.c b/src/core/nm-active-connection.c index ca1993cf..ebfbc72b 100644 --- a/src/core/nm-active-connection.c +++ b/src/core/nm-active-connection.c @@ -989,10 +989,10 @@ _set_activation_type_managed(NMActiveConnection *self) _set_activation_type(self, NM_ACTIVATION_TYPE_MANAGED); if (priv->device && self == NM_ACTIVE_CONNECTION(nm_device_get_act_request(priv->device)) - && NM_IN_SET(nm_device_sys_iface_state_get(priv->device), - NM_DEVICE_SYS_IFACE_STATE_EXTERNAL, - NM_DEVICE_SYS_IFACE_STATE_ASSUME)) - nm_device_sys_iface_state_set(priv->device, NM_DEVICE_SYS_IFACE_STATE_MANAGED); + && NM_IN_SET(nm_device_managed_type_get(priv->device), + NM_DEVICE_MANAGED_TYPE_EXTERNAL, + NM_DEVICE_MANAGED_TYPE_ASSUME)) + nm_device_managed_type_set(priv->device, NM_DEVICE_MANAGED_TYPE_FULL); } NMActivationReason |