Print pkt_type when decoding Setup Synchronous Connection command.
PATCH 1/1 Print pkt_type when decoding Setup Synchronous Connection command.
parser/hci.c +3 -2
@@ -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)); }static inline void hold_mode_dump (int level,struct frame *frm)
Signature · 1 line
1.6.5.3
Marcel Holtmann
maintainerHi Nick,
Quoted 5 lines
parser/hci.c +0
-0
parser/hci.c static inline void setup_sync_conn_dump(int level, struct frame *frm) · line 923
Quoted 9 lines
parser/hci.c +3
-2@@ -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