core: ensure we recheck autoactivation on new system connections

Otherwise the policy could miss the fact that a new usable system
connection showed up and might fail to activate it.
This commit is contained in:
Dan Williams 2010-08-09 17:49:43 -05:00
parent 9bed26b856
commit 1a3381df3e

View file

@ -1399,6 +1399,7 @@ system_internal_new_connection (NMManager *manager,
path = nm_connection_get_path (NM_CONNECTION (connection));
g_hash_table_insert (priv->system_connections, g_strdup (path),
g_object_ref (connection));
g_signal_emit (manager, signals[CONNECTION_ADDED], 0, connection, NM_CONNECTION_SCOPE_SYSTEM);
}
static void