projects
/
project
/
umbim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cf812a
)
add command_id to verbose output
author
Bjørn Mork
<bjorn@mork.no>
Wed, 8 Apr 2015 13:31:21 +0000
(15:31 +0200)
committer
John Crispin
<blogic@openwrt.org>
Fri, 3 Apr 2015 08:33:20 +0000
(10:33 +0200)
Signed-off-by: Bjørn Mork <bjorn@mork.no>
mbim-dev.c
patch
|
blob
|
history
diff --git
a/mbim-dev.c
b/mbim-dev.c
index 4474b2d2220d9226eb5eb777c9239be0426a6a4c..d986cbe775b00468faabff21f32f4b3a59f27e96 100644
(file)
--- 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