linux/drivers/net/can/usb
Stefan Mätje 7008b9981b can: usb: esd_usb2: esd_usb2_rx_event(): fix the interchange of the CAN RX and TX error counters
commit 044012b520 upstream.

This patch fixes the interchanged fetch of the CAN RX and TX error
counters from the ESD_EV_CAN_ERROR_EXT message. The RX error counter
is really in struct rx_msg::data[2] and the TX error counter is in
struct rx_msg::data[3].

Fixes: 96d8e90382 ("can: Add driver for esd CAN-USB/2 device")
Link: https://lore.kernel.org/r/20210825215227.4947-2-stefan.maetje@esd.eu
Cc: stable@vger.kernel.org
Signed-off-by: Stefan Mätje <stefan.maetje@esd.eu>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-03 10:09:22 +02:00
..
kvaser_usb can: kvaser_usb: kvaser_usb_hydra: Fix KCAN bittiming limits 2020-11-18 09:06:35 +01:00
peak_usb can: peak_usb: pcan_usb_handle_bus_evt(): fix reading rxerr/txerr values 2021-08-04 12:46:40 +02:00
ems_usb.c can: ems_usb: fix memory leak 2021-08-04 12:46:40 +02:00
esd_usb2.c can: usb: esd_usb2: esd_usb2_rx_event(): fix the interchange of the CAN RX and TX error counters 2021-09-03 10:09:22 +02:00
gs_usb.c can: gs_usb: fix endianess problem with candleLight firmware 2020-11-26 11:50:32 +01:00
Kconfig can: drivers: fix spelling mistakes 2020-09-21 10:13:16 +02:00
Makefile
mcba_usb.c can: mcba_usb_start(): add missing urb->transfer_dma initialization 2021-08-04 12:46:40 +02:00
ucan.c can: drivers: fix spelling mistakes 2020-09-21 10:13:16 +02:00
usb_8dev.c can: usb_8dev: fix memory leak 2021-08-04 12:46:40 +02:00