linux-stable/drivers/net/can/usb
Stefan Mätje 044012b520 can: usb: esd_usb2: esd_usb2_rx_event(): fix the interchange of the CAN RX and TX error counters
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>
2021-08-26 08:37:13 +02:00
..
etas_es58x can: etas_es58x: Fix a couple of spelling mistakes 2021-04-24 14:36:50 +02:00
kvaser_usb can: kvaser_usb: Add new Kvaser hydra devices 2021-05-27 09:42:23 +02:00
peak_usb can: peak_usb: pcan_usb_handle_bus_evt(): fix reading rxerr/txerr values 2021-07-24 19:02:32 +02:00
ems_usb.c can: ems_usb: fix memory leak 2021-07-30 08:47:24 +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-08-26 08:37:13 +02:00
gs_usb.c can: dev: can_free_echo_skb(): extend to return can frame length 2021-03-30 11:14:28 +02:00
Kconfig can: kvaser_usb: Add new Kvaser hydra devices 2021-05-27 09:42:23 +02:00
Makefile can: etas_es58x: add core support for ETAS ES58X CAN USB interfaces 2021-04-13 10:15:42 +02:00
mcba_usb.c can: mcba_usb_start(): add missing urb->transfer_dma initialization 2021-07-30 08:47:01 +02:00
ucan.c can: ucan: fix alignment constraints 2021-03-30 11:14:46 +02:00
usb_8dev.c can: usb_8dev: fix memory leak 2021-07-30 08:47:05 +02:00