raiden00pl opened a new pull request, #20945: URL: https://github.com/apache/nuttx/pull/20945
## Summary The TX interrupt loops reused regval, which held TX_STATUS, for the "Set empty" command, so buffers after the first "TX OK" one were tested against the command value and their "TX OK" state was missed. TX_STATUS: "0b0100 - TXT_TOK - TXT buffer is in "TX OK" state." https://canbus.pages.fel.cvut.cz/ctucanfd_ip_core/doc/Datasheet.pdf Cherry-picked from open-vela/nuttx commit 40ff34ea5481966982798d83c00badb532e39914 (https://github.com/open-vela/nuttx/commit/40ff34ea5481966982798d83c00badb532e39914). Adapted to upstream: the SocketCAN path is ctucanfd_sock_interrupt(). ## Impact bugfix ## Testing issue found with https://github.com/railab/nuttx-testlab -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
