Include the reason for skipping the requested network disconnect in
the warning message.

---
 src/device.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/device.c b/src/device.c
index ed0eaf2..33425fa 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;
                }
-- 
1.7.5

_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to