mirror of
https://github.com/apache/nuttx.git
synced 2025-12-16 01:34:58 +08:00
Some checks failed
Build Documentation / build-html (push) Has been cancelled
In MSS CAN transmit function, the check of net pkt data len is not neccessary. Since there are cases that the pkt len can exceed the expected 16 bytes of can_frame but the pkt is still valid. Such a case is when CONFIG_NET_CAN_RAW_TX_DEADLINE is enabled which has pkt len to become 32 bytes due to cmsghdr overhead. Signed-off-by: haitomatic <hai.to@unikie.com>