* [PATCH] Print pkt_type when decoding Setup Synchronous Connection command.
@ 2010-02-10 1:07 Nick Pelly
2010-03-24 21:03 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: Nick Pelly @ 2010-02-10 1:07 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Nick Pelly
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));
}
static inline void hold_mode_dump(int level, struct frame *frm)
--
1.6.5.3
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] Print pkt_type when decoding Setup Synchronous Connection command.
2010-02-10 1:07 [PATCH] Print pkt_type when decoding Setup Synchronous Connection command Nick Pelly
@ 2010-03-24 21:03 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2010-03-24 21:03 UTC (permalink / raw)
To: Nick Pelly; +Cc: linux-bluetooth
Hi Nick,
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-03-24 21:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-10 1:07 [PATCH] Print pkt_type when decoding Setup Synchronous Connection command Nick Pelly
2010-03-24 21:03 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).