diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-10-25 12:31:03 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-10-25 12:33:53 +0200 |
commit | 482ce26d0f30f1e89e55eb98e0cb475df0a1c869 (patch) | |
tree | 6d1641cfdf7cfbec9034411c68fd24410a222dac | |
parent | 38171469d3b2313c6ea53035d87ed39fd96b909c (diff) | |
download | external_libqmi-482ce26d0f30f1e89e55eb98e0cb475df0a1c869.zip external_libqmi-482ce26d0f30f1e89e55eb98e0cb475df0a1c869.tar.gz external_libqmi-482ce26d0f30f1e89e55eb98e0cb475df0a1c869.tar.bz2 |
cli,wds: print connection status string instead of integer
-rw-r--r-- | cli/qmicli-wds.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/cli/qmicli-wds.c b/cli/qmicli-wds.c index 3e41587..775824b 100644 --- a/cli/qmicli-wds.c +++ b/cli/qmicli-wds.c @@ -258,10 +258,9 @@ timeout_get_packet_service_status_ready (QmiClientWds *client, &status, NULL); - /* TODO: print string */ - g_print ("[%s] Connection status: '%u'\n", + g_print ("[%s] Connection status: '%s'\n", qmi_device_get_path_display (ctx->device), - (guint) status); + qmi_wds_connection_status_get_string (status)); qmi_message_wds_get_packet_service_status_output_unref (output); shutdown (TRUE); } @@ -388,10 +387,9 @@ get_packet_service_status_ready (QmiClientWds *client, &status, NULL); - /* TODO: print string */ - g_print ("[%s] Connection status: '%u'\n", + g_print ("[%s] Connection status: '%s'\n", qmi_device_get_path_display (ctx->device), - status); + qmi_wds_connection_status_get_string (status)); qmi_message_wds_get_packet_service_status_output_unref (output); shutdown (TRUE); |