diff options
| author | Anssi Hannula <anssi.hannula@bitwise.fi> | 2018-02-26 14:50:35 +0200 |
|---|---|---|
| committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2018-07-27 10:40:17 +0200 |
| commit | 11ee5fcd6af37b1107aa0e8980a40f8e17703c0b (patch) | |
| tree | e61ba6e7838c4108dccba1a96f78dc78906a3920 /tools/perf/scripts/python | |
| parent | can: xilinx_can: use can_change_state() (diff) | |
| download | linux-11ee5fcd6af37b1107aa0e8980a40f8e17703c0b.tar.gz linux-11ee5fcd6af37b1107aa0e8980a40f8e17703c0b.zip | |
can: xilinx_can: update stats.tx_bytes after transmission
The driver updates stats.tx_bytes in start_xmit() even though it could
do so in TX interrupt handler.
Change the code to update tx_bytes in the interrupt handler, using the
return value of can_get_echo_skb().
Signed-off-by: Anssi Hannula <anssi.hannula@bitwise.fi>
Cc: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
