Diff between 21e951b6b15827f356ffb0269ea22d0ec3c0a572 and f5335f5513d9e10b791c4994b5f6cb35982a4787

Changed Files

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

Full Patch

diff --git a/tools/parser/hidp.c b/tools/parser/hidp.c
index e4aaded..2dfbd3f 100644
--- a/tools/parser/hidp.c
+++ b/tools/parser/hidp.c
@@ -174,7 +174,7 @@ void hidp_dump(int level, struct frame *frm)
 	printf("HIDP: %s: %s\n", type2str(head), param);
 
 	frm->ptr++;
-	frm->len++;
+	frm->len--;
 
 	raw_dump(level, frm);
 }