diff options
| author | Michael Biebl <biebl@debian.org> | 2024-09-01 22:38:35 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2024-09-01 22:38:35 +0200 |
| commit | f9bfd1158b8d08d6a5ed3bb7cc1ba7a6455e5201 (patch) | |
| tree | 10267dcf5b842b7c638a79bd6851549cd849b81d /src/core/nm-active-connection.c | |
| parent | 681dfc70ef98f6ed0c05bcb0fbff00e3fc0799ea (diff) | |
New upstream version 1.49.90 upstream/1.49.90
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 |