network: Add more debug prints
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Wed, 18 Jan 2012 13:24:59 +0000 (15:24 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 20 Jan 2012 00:35:24 +0000 (01:35 +0100)
src/network.c

index 7d120d4..82c7cd0 100644 (file)
@@ -1314,7 +1314,9 @@ static gboolean set_connected(gpointer user_data)
 int connman_network_set_connected(struct connman_network *network,
                                                connman_bool_t connected)
 {
-       DBG("network %p connected %d", network, connected);
+       DBG("network %p connected %d/%d connecting %d associating %d",
+               network, network->connected, connected, network->connecting,
+               network->associating);
 
        if ((network->connecting == TRUE || network->associating == TRUE) &&
                                                        connected == FALSE) {