mirror of
https://github.com/Evolution-X-Devices/kernel_google_b1c1
synced 2026-02-03 22:15:08 +00:00
can_get_echo_skb() is usually called in the TX complete handler. The stats->tx_packets and stats->tx_bytes should be updated there, too. This patch simplifies to figure out the size of the sent CAN frame. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>