summaryrefslogtreecommitdiff
path: root/src/nm-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nm-manager.c')
-rw-r--r--src/nm-manager.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nm-manager.c b/src/nm-manager.c
index 467b45d7d5..082b7ef908 100644
--- a/src/nm-manager.c
+++ b/src/nm-manager.c
@@ -731,6 +731,9 @@ manager_device_state_changed (NMDevice *device,
break;
}
+ if (old_state >= NM_DEVICE_STATE_ACTIVATED)
+ return;
+
if ( new_state == NM_DEVICE_STATE_UNAVAILABLE
|| new_state == NM_DEVICE_STATE_DISCONNECTED)
nm_settings_device_added (priv->settings, device);