merge: branch 'carrier-less-conditions'

device: remove activated condition when the carrier was down

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/2189
This commit is contained in:
Beniamino Galvani
2025-04-22 16:24:52 +00:00

View File

@@ -7755,10 +7755,8 @@ device_link_changed(gpointer user_data)
* tagged for carrier ignore) ensure that when the carrier appears we
* renew DHCP leases and such.
*/
if (priv->state == NM_DEVICE_STATE_ACTIVATED) {
nm_device_update_dynamic_ip_setup(self, "interface got carrier");
}
}
if (update_unmanaged_specs)
nm_device_set_unmanaged_by_user_settings(self, FALSE);