Closed Sauci closed 2 years ago
For info, this patch has been tested on a Raspberry Pi with a custom kernel including the changes.
uname -a
Linux raspberrypi 5.11.10-v7l+ #5 SMP Thu Apr 1 10:25:26 BST 2021 armv7l GNU/Linux
I'm not sure how the -ECOMM
error here is reported to the userspace.
@hartkopp would it be an implementation of this bug? I guess this pull request might also correct the behavior described here. Let me know if I should modify the implementation, and I will update the pull request accordingly.
Hey Sauci, with this modul beeing part of the mainline kernel, you might get a quicker reaction by moving this to the kernel maillist at linux-can@vger.kernel.org :)
I've moved the discussion and review to the linux-can ML: https://lore.kernel.org/linux-can/20210428091224.lsqf4tttd7uijdms@pengutronix.de
Added in mainline and here in out-of-tree repo. Thx!
This PR proposes a way to return -ECOMM when no Flow Control frame is received on time after transmission of the First Frame