Skip to content
Commit c05e71ed authored by Martin Jäger's avatar Martin Jäger Committed by Fabio Baltieri
Browse files

net: socketcan: make socketcan_frame CAN FD capable



Align the struct socketcan_frame to most recent Linux kernel.

Compatibility with legacy can frames is maintained because the DLC is
equal to payload length for up to 8 bytes. Only the data buffer is
extended, resulting in larger size when CAN FD is enabled.

Signed-off-by: default avatarMartin Jäger <martin@libre.solar>
parent 402752c0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment