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:
@@ -7755,10 +7755,8 @@ device_link_changed(gpointer user_data)
|
|||||||
* tagged for carrier ignore) ensure that when the carrier appears we
|
* tagged for carrier ignore) ensure that when the carrier appears we
|
||||||
* renew DHCP leases and such.
|
* renew DHCP leases and such.
|
||||||
*/
|
*/
|
||||||
if (priv->state == NM_DEVICE_STATE_ACTIVATED) {
|
|
||||||
nm_device_update_dynamic_ip_setup(self, "interface got carrier");
|
nm_device_update_dynamic_ip_setup(self, "interface got carrier");
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (update_unmanaged_specs)
|
if (update_unmanaged_specs)
|
||||||
nm_device_set_unmanaged_by_user_settings(self, FALSE);
|
nm_device_set_unmanaged_by_user_settings(self, FALSE);
|
||||||
|
Reference in New Issue
Block a user