Diff between eda60901c7f746c09da5522500670f95d7ea595a and abb219c07e7f08bd6b9bc355fc3e5c0c26af3a3f

Changed Files

File Additions Deletions Status
tools/parser/hci.c +10 -0 modified

Full Patch

diff --git a/tools/parser/hci.c b/tools/parser/hci.c
index b69d34e..ef64a82 100644
--- a/tools/parser/hci.c
+++ b/tools/parser/hci.c
@@ -891,6 +891,11 @@ static inline void command_dump(int level, struct frame *frm)
 		return;
 	}
 
+	if (!(parser.flags & DUMP_VERBOSE)) {
+		raw_dump(level, frm);
+		return;
+	}
+
 	switch (ogf) {
 	case OGF_LINK_CTL:
 		switch (ocf) {
@@ -1525,6 +1530,11 @@ static inline void cmd_complete_dump(int level, struct frame *frm)
 	frm->ptr += EVT_CMD_COMPLETE_SIZE;
 	frm->len -= EVT_CMD_COMPLETE_SIZE;
 
+	if (!(parser.flags & DUMP_VERBOSE)) {
+		raw_dump(level, frm);
+		return;
+	}
+
 	switch (ogf) {
 	case OGF_LINK_CTL:
 		switch (ocf) {