linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] Add master/slave parsing for le_conn_complete event
@ 2010-09-29 13:56 Ville Tervo
  2010-09-29 13:56 ` [PATCH 2/2] Fix missing comma in cmd_le_str Ville Tervo
  2010-09-30  7:31 ` [PATCH 1/2] Add master/slave parsing for le_conn_complete event Johan Hedberg
  0 siblings, 2 replies; 4+ messages in thread
From: Ville Tervo @ 2010-09-29 13:56 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Ville Tervo

---
 parser/hci.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/parser/hci.c b/parser/hci.c
index 250ba58..7f23605 100644
--- a/parser/hci.c
+++ b/parser/hci.c
@@ -3239,7 +3239,8 @@ static inline void evt_le_conn_complete_dump(int level, struct frame *frm)
 	evt_le_connection_complete *evt = frm->ptr;
 
 	p_indent(level, frm);
-	printf("status 0x%2.2x handle %d\n", evt->status, btohs(evt->handle));
+	printf("status 0x%2.2x handle %d, role %s\n",
+		evt->status, btohs(evt->handle), evt->role?"slave":"master");
 }
 
 static inline void le_meta_ev_dump(int level, struct frame *frm)
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-09-30  7:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-29 13:56 [PATCH 1/2] Add master/slave parsing for le_conn_complete event Ville Tervo
2010-09-29 13:56 ` [PATCH 2/2] Fix missing comma in cmd_le_str Ville Tervo
2010-09-30  7:31   ` Johan Hedberg
2010-09-30  7:31 ` [PATCH 1/2] Add master/slave parsing for le_conn_complete event Johan Hedberg

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).