Diff between d7c40c78693aed5d0d351e7981c3c529f0aa483a and 2d97679b26df51cca24be4f2baffcddc5f55d3a9

Changed Files

File Additions Deletions Status
monitor/control.c +3 -0 modified

Full Patch

diff --git a/monitor/control.c b/monitor/control.c
index f637a96..e848be8 100644
--- a/monitor/control.c
+++ b/monitor/control.c
@@ -856,6 +856,9 @@ void control_reader(const char *path)
 							&opcode, buf, &pktlen))
 				break;
 
+			if (opcode == 0xffff)
+				continue;
+
 			packet_monitor(&tv, index, opcode, buf, pktlen);
 			ellisys_inject_hci(&tv, index, opcode, buf, pktlen);
 		}