diff options
author | Bjørn Mork <bjorn@mork.no> | 2015-04-08 13:44:04 +0200 |
---|---|---|
committer | Bjørn Mork <bjorn@mork.no> | 2015-04-08 13:44:04 +0200 |
commit | 7df361a7e5efa2ac56a3e05919c9953fe6009139 (patch) | |
tree | f6cc3887e57eba89e8e4be507c36f88cc8ea9b08 | |
parent | 9e47993ac7b29bf25eb84ae3f0bc32560cfeb580 (diff) |
add command_id to verbose output
Signed-off-by: Bjørn Mork <bjorn@mork.no>
-rw-r--r-- | mbim-dev.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |