Diff between c32e1936273b38e527b97192404dba0829a7b985 and 6e15bd3f806d81ef608ca847cd40534ccfb37755

Changed Files

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

Full Patch

diff --git a/tools/parser/hci.c b/tools/parser/hci.c
index 01a9be5..dfcd973 100644
--- a/tools/parser/hci.c
+++ b/tools/parser/hci.c
@@ -41,10 +41,6 @@
 
 #include "parser.h"
 
-#ifndef OCF_READ_SCAN_ENABLE
-#define OCF_READ_SCAN_ENABLE 0x0019
-#endif
-
 static uint16_t manufacturer = DEFAULT_COMPID;
 
 static inline uint16_t get_manufacturer(void)
@@ -1026,6 +1022,7 @@ static inline void command_dump(int level, struct frame *frm)
 		case OCF_WRITE_AUTH_ENABLE:
 			write_scan_enable_dump(level + 1, frm);
 			return;
+		case OCF_WRITE_CONN_ACCEPT_TIMEOUT:
 		case OCF_WRITE_PAGE_TIMEOUT:
 			write_page_timeout_dump(level + 1, frm);
 			return;
@@ -1616,6 +1613,7 @@ static inline void cmd_complete_dump(int level, struct frame *frm)
 		case OCF_READ_AUTH_ENABLE:
 			read_scan_enable_dump(level, frm);
 			return;
+		case OCF_READ_CONN_ACCEPT_TIMEOUT:
 		case OCF_READ_PAGE_TIMEOUT:
 			read_page_timeout_dump(level, frm);
 			return;
@@ -1653,6 +1651,7 @@ static inline void cmd_complete_dump(int level, struct frame *frm)
 		case OCF_WRITE_SCAN_ENABLE:
 		case OCF_WRITE_AUTH_ENABLE:
 		case OCF_WRITE_ENCRYPT_MODE:
+		case OCF_WRITE_CONN_ACCEPT_TIMEOUT:
 		case OCF_WRITE_PAGE_TIMEOUT:
 		case OCF_WRITE_PAGE_ACTIVITY:
 		case OCF_WRITE_INQ_ACTIVITY: