Thread (2 messages) 2 messages, 2 authors, 2010-03-24

Re: [PATCH] Print pkt_type when decoding Setup Synchronous Connection command.

From: Marcel Holtmann <marcel@holtmann.org>
Date: 2010-03-24 21:03:47

Hi Nick,
quoted hunk ↗ jump to hunk
diff --git a/parser/hci.c b/parser/hci.c
index c0ca27e..958cd38 100644
--- a/parser/hci.c
+++ b/parser/hci.c
@@ -917,8 +917,9 @@ static inline void setup_sync_conn_dump(int level, struct frame *frm)
 	setup_sync_conn_cp *cp = frm->ptr;
 
 	p_indent(level, frm);
-	printf("handle %d voice setting 0x%4.4x\n", btohs(cp->handle),
-						btohs(cp->voice_setting));
+	printf("handle %d voice setting 0x%4.4x pkt_type 0x%4.4x\n",
+		btohs(cp->handle), btohs(cp->voice_setting),
+		btohs(cp->pkt_type));
 }
I renamed it to ptype instead of pkt_type to be consistent, but
otherwise, patch has been applied. Thanks.

Regards

Marcel

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help