diff options
author | 2024-11-22 23:15:52 +0100 | |
---|---|---|
committer | 2024-11-26 10:51:06 +0100 | |
commit | 72a7e2e74b3075959f05e622bae09b115957dffe (patch) | |
tree | 07a0845d575549d331fb55c823905d81069b84da /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | can: sun4i_can: sun4i_can_err(): fix {rx,tx}_errors statistics (diff) | |
download | wireguard-linux-72a7e2e74b3075959f05e622bae09b115957dffe.tar.xz wireguard-linux-72a7e2e74b3075959f05e622bae09b115957dffe.zip |
can: ems_usb: ems_usb_rx_err(): fix {rx,tx}_errors statistics
The ems_usb_rx_err() function only incremented the receive error counter
and never the transmit error counter, even if the ECC_DIR flag reported
that an error had occurred during transmission.
Increment the receive/transmit error counter based on the value of the
ECC_DIR flag.
Fixes: 702171adeed3 ("ems_usb: Added support for EMS CPC-USB/ARM7 CAN/USB interface")
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Link: https://patch.msgid.link/20241122221650.633981-12-dario.binacchi@amarulasolutions.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions