Browse Source

add command_id to verbose output

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Bjørn Mork 9 years ago
parent
commit
ca11b50f75
1 changed files with 3 additions and 1 deletions
  1. 3 1
      mbim-dev.c

+ 3 - 1
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