Skip to content

In the unit test of driver-can, how do we distinguish can from can-fd? #76817

Answered by henrikbrixandersen
SSQ1750 asked this question in Q&A
Discussion options

You must be logged in to vote

A CAN controller driver must reject CAN FD frames if its operational mode does not contain CAN_MODE_FD. That is what is being verified in that test case.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SSQ1750
Comment options

Answer selected by henrikbrixandersen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants