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 3311fc9b0e0d2f86d029244ab228d88561b11395..a9f4330e928be1a45b395f10003a3ad142ea3b2c 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;
                }