summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nm-manager.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nm-manager.c b/src/nm-manager.c
index 0629a3cb61..78367ad8f7 100644
--- a/src/nm-manager.c
+++ b/src/nm-manager.c
@@ -757,9 +757,7 @@ checked_connectivity (GObject *object, GAsyncResult *result, gpointer user_data)
if (connectivity == NM_CONNECTIVITY_FULL)
set_state (manager, NM_STATE_CONNECTED_GLOBAL);
- else if ( connectivity == NM_CONNECTIVITY_PORTAL
- || connectivity == NM_CONNECTIVITY_LIMITED)
- set_state (manager, NM_STATE_CONNECTED_SITE);
+
_notify (manager, PROP_CONNECTIVITY);
}