From ca11b50f75da3bc75cb93192b087170bde7ee581 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B8rn=20Mork?= Date: Wed, 8 Apr 2015 15:31:21 +0200 Subject: [PATCH] add command_id to verbose output MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Bjørn Mork --- mbim-dev.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mbim-dev.c b/mbim-dev.c index 4474b2d..d986cbe 100644 --- a/mbim-dev.c +++ b/mbim-dev.c @@ -105,8 +105,10 @@ mbim_recv(struct uloop_fd *u, unsigned int events) mbim_send_close_msg(); break; case MBIM_MESSAGE_TYPE_COMMAND_DONE: - if (verbose) + if (verbose) { + printf(" command_id: %04X\n", le32toh(msg->command_id)); printf(" status_code: %04X\n", le32toh(msg->status_code)); + } if (msg->status_code && !msg->buffer_length) return_code = -le32toh(msg->status_code); else -- 2.25.1