[PATCH] Add Unknow after LEMeta Event

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



According to Core_v4.0
LE Meta Event Event Code is 0x3E, While Physical Link Complete Event Code is 0x40
So add Unknow after LEMeta Event
---
 parser/hci.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/parser/hci.c b/parser/hci.c
index 610177b..d36b54b 100644
--- a/parser/hci.c
+++ b/parser/hci.c
@@ -44,7 +44,7 @@ static inline uint16_t get_manufacturer(void)
 	return (manufacturer == DEFAULT_COMPID ? parser.defcompid : manufacturer);
 }
 
-#define EVENT_NUM 76
+#define EVENT_NUM 77
 static char *event_str[EVENT_NUM + 1] = {
 	"Unknown",
 	"Inquiry Complete",
@@ -109,6 +109,7 @@ static char *event_str[EVENT_NUM + 1] = {
 	"Keypress Notification",
 	"Remote Host Supported Features Notification",
 	"LE Meta Event",
+	"Unknown",
 	"Physical Link Complete",
 	"Channel Selected",
 	"Disconnection Physical Link Complete",
-- 
1.7.2.2

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux