summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/nm-manager.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/nm-manager.c b/src/core/nm-manager.c
index 822df7ad3b..8bad46b14f 100644
--- a/src/core/nm-manager.c
+++ b/src/core/nm-manager.c
@@ -3101,6 +3101,14 @@ recheck_assume_connection(NMManager *self, NMDevice *device)
return FALSE;
}
+ if (nm_device_get_act_request(device)) {
+ /* The device might might not have progressed beyond
+ * NM_DEVICE_STATE_DISCONNECTED (checked above), because it might
+ * be pending a carrier check. */
+ _LOG2D(LOGD_DEVICE, device, "assume: don't assume because there's an activation request");
+ return FALSE;
+ }
+
sett_conn = get_existing_connection(self, device, &generated);
/* log no reason. get_existing_connection() already does it. */
if (!sett_conn)