From: Marc Kleine-Budde Date: Mon, 10 Oct 2011 21:43:53 +0000 (+0200) Subject: can: dev: let can_get_echo_skb() return dlc of CAN frame X-Git-Tag: v3.4-rc1~177^2~390^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf5046b309b3a05c444a8edba6b44108510b7d7d;p=pandora-kernel.git 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: Marc Kleine-Budde --- Reading git-diff-tree failed