Skip to content
Commit cf5046b3 authored by Marc Kleine-Budde's avatar Marc Kleine-Budde
Browse files

can: dev: let can_get_echo_skb() return dlc of CAN frame



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: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent f84cbda0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment