This series of two patches provides support for CAN error counters rxerr/ txerr when the CAN-USB PCAN-USB interface of PEAK-System GmbH is used to access the CAN bus. The first patch fixes a potential synchronization loss problem in the decoding of packets read from buffers received from PCAN-USB. The second one activates the bus error notification feature in the PCAN-USB to receive specific packets. Stephane Grosjean (2): can/peak_usb: fix a potential out-of-sync while decoding packets can/peak_usb/pcan_usb: add support of rxerr/txerr counters drivers/net/can/usb/peak_usb/pcan_usb.c | 192 +++++++++++++++++++++--- 1 file changed, 172 insertions(+), 20 deletions(-) -- 2.20.1