msperl / linux-rpi

Other
22 stars 26 forks source link

mcp25xxfd_can_queue_frame timestamp truncating #9

Open DanielOgorchock opened 4 years ago

DanielOgorchock commented 4 years ago

mcp25xxfd_can_queue_frame() accepts the timestamp as a u16, which truncates the 32 bit value. This leads to occasional out-of-order packets. Changing the ts param to a u32 solved the problem for me.