diff options
author | 2021-08-25 23:52:27 +0200 | |
---|---|---|
committer | 2021-08-26 08:37:13 +0200 | |
commit | 044012b52029204900af9e4230263418427f4ba4 (patch) | |
tree | 8c3793c008f835e3bddbe9c8190af54d69c50e0a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: usb: asix: ax88772: fix boolconv.cocci warnings (diff) | |
download | wireguard-linux-044012b52029204900af9e4230263418427f4ba4.tar.xz wireguard-linux-044012b52029204900af9e4230263418427f4ba4.zip |
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: 96d8e90382dc ("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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions