From: Grant Erickson Date: Wed, 25 May 2011 06:39:55 +0000 (-0700) Subject: device: Include Reason in Disconnect Skip Warning X-Git-Tag: 2.0_alpha~1442 X-Git-Url: http://review.tizen.org/git/?p=framework%2Fconnectivity%2Fconnman.git;a=commitdiff_plain;h=1e7bd9934c4889efcae40d47a8d079cb9bd1e537 device: Include Reason in Disconnect Skip Warning Include the reason for skipping the requested network disconnect in the warning message. --- diff --git a/src/device.c b/src/device.c index 3311fc9..a9f4330 100644 --- a/src/device.c +++ b/src/device.c @@ -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; }