Files
linux/drivers
Stephane Grosjean 2fc2c2816c can: peak_usb: pcan_usb_handle_bus_evt(): fix reading rxerr/txerr values
commit 590eb2b7d8 upstream.

This patch fixes an incorrect way of reading error counters in messages
received for this purpose from the PCAN-USB interface. These messages
inform about the increase or decrease of the error counters, whose values
are placed in bytes 1 and 2 of the message data (not 0 and 1).

Fixes: ea8b33bde7 ("can: pcan_usb: add support of rxerr/txerr counters")
Link: https://lore.kernel.org/r/20210625130931.27438-4-s.grosjean@peak-system.com
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Stephane Grosjean <s.grosjean@peak-system.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-08-04 12:46:40 +02:00
..
2021-07-19 09:44:59 +02:00
2021-07-20 16:05:42 +02:00
2021-03-04 11:38:21 +01:00
2020-12-03 10:00:23 +01:00
2021-07-14 16:55:53 +02:00
2020-12-30 11:53:53 +01:00
2021-07-28 14:35:40 +02:00
2021-07-28 14:35:48 +02:00