From 42227c2d29c8330c955cf64cf92be0bf1bf4aeeb Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Fri, 14 Aug 2015 13:48:08 +0200 Subject: usb_packet: Fix incorrect DATA*/MDATA handling. Thanks to Pavel Sukortsev for the bug report and fix. This fixes bug #623. --- decoders/usb_packet/pd.py | 1 - 1 file changed, 1 deletion(-) (limited to 'decoders/usb_packet') diff --git a/decoders/usb_packet/pd.py b/decoders/usb_packet/pd.py index a9c8b25..6f5e66e 100644 --- a/decoders/usb_packet/pd.py +++ b/decoders/usb_packet/pd.py @@ -289,7 +289,6 @@ class Decoder(srd.Decoder): 'DB: %02X' % db, '%02X' % db]]) databytes.append(db) self.packet_summary += ' %02X' % db - data = data[8:] self.packet_summary += ' ]' # Convenience Python output (no annotation) for all bytes together. -- cgit v1.2.3-70-g09d2