diff options
author | Jimmy Assarsson <[email protected]> | 2021-12-08 16:21:21 +0100 |
---|---|---|
committer | Marc Kleine-Budde <[email protected]> | 2021-12-09 09:01:43 +0100 |
commit | 36aea60fc892ce73f96d45dc7eb239c7c4c1fa69 (patch) | |
tree | 3b95d521aabda77a4379f9011f72970be87c5f8b /scripts/clang-tools/gen_compile_commands.py | |
parent | a50e659b2a1be14784e80f8492aab177e67c53a2 (diff) |
can: kvaser_pciefd: kvaser_pciefd_rx_error_frame(): increase correct stats->{rx,tx}_errors counter
Check the direction bit in the error frame packet (EPACK) to determine
which net_device_stats {rx,tx}_errors counter to increase.
Fixes: 26ad340e582d ("can: kvaser_pciefd: Add driver for Kvaser PCIEcan devices")
Link: https://lore.kernel.org/all/[email protected]
Cc: [email protected]
Signed-off-by: Jimmy Assarsson <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions