Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 26ad340 ("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]>
- Loading branch information