On Thu, Mar 24, 2011 at 12:26:50PM +0100, Jan Altenberg wrote: > The current SocketCAN implementation for the Bosch c_can cell doesn't > account the TX bytes correctly, because it calls > c_can_inval_msg_object() (which clears the msg ctrl register) before > reading the DLC value: > > The fix is quite easy: Just move c_can_inval_msg_object() to the end of > the if() statement. So: > * We only call c_can_inval_msg_object() if the message was > actually transmitted > * We read out the DLC value _before_ clearing the msg ctrl > register > > Signed-off-by: Jan Altenberg <[email protected]> Acked-by: Kurt Van Dijck <[email protected]>
I cut the description a bit, to what I would have found sufficient. _______________________________________________ Socketcan-core mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-core
