diff --git a/src/core/devices/nm-device.c b/src/core/devices/nm-device.c index aa3267c471..5053499cd4 100644 --- a/src/core/devices/nm-device.c +++ b/src/core/devices/nm-device.c @@ -12750,6 +12750,7 @@ check_and_reapply_connection(NMDevice * self, NMSettingIPConfig * s_ip4_old, *s_ip4_new; NMSettingIPConfig * s_ip6_old, *s_ip6_new; GHashTableIter iter; + NMSettingsConnection *sett_conn; if (priv->state < NM_DEVICE_STATE_PREPARE || priv->state > NM_DEVICE_STATE_ACTIVATED) { g_set_error_literal(error, @@ -12907,6 +12908,14 @@ check_and_reapply_connection(NMDevice * self, if (priv->state >= NM_DEVICE_STATE_ACTIVATED) nm_device_update_metered(self); + sett_conn = nm_device_get_settings_connection(self); + if (sett_conn) { + nm_settings_connection_autoconnect_blocked_reason_set( + sett_conn, + NM_SETTINGS_AUTO_CONNECT_BLOCKED_REASON_USER_REQUEST, + FALSE); + } + return TRUE; }