From: Bjørn Mork Date: Wed, 8 Apr 2015 13:31:21 +0000 (+0200) Subject: add command_id to verbose output X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ca11b50f75da3bc75cb93192b087170bde7ee581;p=oweals%2Fumbim.git add command_id to verbose output Signed-off-by: Bjørn Mork --- 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