Diff between d52d19afe28b5d244d67ff786df3e0b57ca4bb96 and c6aba8e396c6e69ede1b560e26d073f745810863

Changed Files

File Additions Deletions Status
tools/parser/hci.c +3 -2 modified

Full Patch

diff --git a/tools/parser/hci.c b/tools/parser/hci.c
index c41dec2..80c12a0 100644
--- a/tools/parser/hci.c
+++ b/tools/parser/hci.c
@@ -2390,13 +2390,14 @@ static inline void vendor_dump(int level, struct frame *frm)
 		return;
 
 	if (frm->dev_id == HCI_DEV_NONE) {
+		uint16_t device = btohs(htons(get_u16(frm)));
 		uint16_t type = btohs(htons(get_u16(frm)));
 		uint16_t plen = btohs(htons(get_u16(frm)));
 
 		p_indent(level, frm);
 
-		printf("System %s: type 0x%2.2x plen %d\n",
-				frm->in ? "event" : "command", type, plen);
+		printf("System %s: device hci%d type 0x%2.2x plen %d\n",
+			frm->in ? "event" : "command", device, type, plen);
 
 		raw_dump(level, frm);
 		return;