diff options
author | 2016-05-08 00:34:15 +0200 | |
---|---|---|
committer | 2016-05-09 11:07:28 +0200 | |
commit | 1acd80fb982728b8bf467184d5ec4c5a77a5601b (patch) | |
tree | e9331a50095f062a39bebd0649e835ac2403b19b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | can: ifi: Treat CAN_CTRLMODE_FD_NON_ISO correctly (diff) | |
download | wireguard-linux-1acd80fb982728b8bf467184d5ec4c5a77a5601b.tar.xz wireguard-linux-1acd80fb982728b8bf467184d5ec4c5a77a5601b.zip |
can: ifi: Increment TX counters only on real transmission
Only increment the TX counters in the irq handler if a CAN message
was sent. The current code incremented the counters also if the TX
FIFO empty interrupt happened, which is incorrect.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Marc Kleine-Budde <mkl@pengutronix.de>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Oliver Hartkopp <socketcan@hartkopp.net>
Cc: Wolfgang Grandegger <wg@grandegger.com>
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