summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/settings/nm-settings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/settings/nm-settings.c b/src/core/settings/nm-settings.c
index 6619d3e0a2..dd9a5bf94e 100644
--- a/src/core/settings/nm-settings.c
+++ b/src/core/settings/nm-settings.c
@@ -557,6 +557,8 @@ _startup_complete_check(NMSettings *self, gint64 now_msec)
return;
}
+ nm_clear_g_source(&priv->startup_complete_timeout_id);
+
if (c_list_is_empty(&priv->startup_complete_scd_lst_head))
goto ready;
@@ -592,8 +594,6 @@ next_with_ready:
}
c_list_splice(&priv->startup_complete_scd_lst_head, &ready_lst);
- nm_clear_g_source(&priv->startup_complete_timeout_id);
-
if (scd_not_ready) {
gint64 timeout_msec;