From 88efa1c4376b7fc55bf2ba9bf74ddbecb4ed5075 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Klime=C5=A1?= Date: Wed, 8 Oct 2014 17:17:53 +0200 Subject: [PATCH] cli: fix 'nmcli connection up bond0' being stuck It can happen on activating a master without slaves. Active connection will not move past activating state. --- clients/cli/connections.c | 1 + 1 file changed, 1 insertion(+) diff --git a/clients/cli/connections.c b/clients/cli/connections.c index 301b4c2354..3d1245efbf 100644 --- a/clients/cli/connections.c +++ b/clients/cli/connections.c @@ -1818,6 +1818,7 @@ activate_connection_cb (GObject *client, GAsyncResult *result, gpointer user_dat } } else { g_signal_connect (active, "notify::state", G_CALLBACK (active_connection_state_cb), nmc); + active_connection_state_cb (active, NULL, nmc); /* Start progress indication showing device states */ if (nmc->print_output == NMC_PRINT_PRETTY) {