device: Include Reason in Disconnect Skip Warning
authorGrant Erickson <marathon96@gmail.com>
Wed, 25 May 2011 06:39:55 +0000 (23:39 -0700)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 31 May 2011 19:02:27 +0000 (21:02 +0200)
Include the reason for skipping the requested network disconnect in
the warning message.

src/device.c

index 3311fc9..a9f4330 100644 (file)
@@ -794,7 +794,7 @@ int __connman_device_disconnect(struct connman_device *device)
                         * will fail.  There is nothing to be gained by
                         * removing the network here anyway.
                         */
-                       connman_warn("Skipping disconnect of %s",
+                       connman_warn("Skipping disconnect of %s, network is connecting.",
                                connman_network_get_identifier(network));
                        continue;
                }