From 6883784cf7d0538320413c888c052a6ce8a1666d Mon Sep 17 00:00:00 2001 From: Nick Pelly Date: Tue, 9 Feb 2010 17:07:29 -0800 Subject: [PATCH] hcidump: Print packet type when decoding Setup Synchronous Connection command --- tools/parser/hci.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/parser/hci.c b/tools/parser/hci.c index f1507fcf0..a3f001bb9 100644 --- a/tools/parser/hci.c +++ b/tools/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 ptype 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) -- 2.47.3