Diff between 8ef121cdbb0a78ec0beacdd1913b0451429b4fed and 03ec538a458d2a16b637a29c020f8289d909531c

Changed Files

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

Full Patch

diff --git a/tools/parser/hci.c b/tools/parser/hci.c
index d14f8c5..a1fc1a4 100644
--- a/tools/parser/hci.c
+++ b/tools/parser/hci.c
@@ -770,7 +770,8 @@ static inline void set_event_flt_dump(int level, struct frame *frm)
 	set_event_flt_cp *cp = frm->ptr;
 
 	p_indent(level, frm);
-	printf("type %d condition %d\n", cp->flt_type, cp->cond_type);
+	printf("type %d condition %d\n", cp->flt_type,
+				(cp->flt_type == 0) ? 0 : cp->cond_type);
 
 	switch (cp->flt_type) {
 	case FLT_CLEAR_ALL: