sniff: ensure the checksum error flag is also printed
the firmware now also use a generic value_string array (as does the
host application)
Change-Id: I861bd8b52e8f2f2a4786bbe1cc834917119dc394
diff --git a/host/simtrace2-sniff.c b/host/simtrace2-sniff.c
index aeacc6b..368ae60 100644
--- a/host/simtrace2-sniff.c
+++ b/host/simtrace2-sniff.c
@@ -132,13 +132,13 @@
.str = "malformed",
},
{
- .value = 0,
- .str = NULL,
- },
- {
.value = SNIFF_DATA_FLAG_ERROR_CHECKSUM,
.str = "checksum error",
},
+ {
+ .value = 0,
+ .str = NULL,
+ },
};
static void print_flags(const struct value_string* flag_meanings, uint32_t nb_flags, uint32_t flags) {