-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: can: mcan: fix handling of bus-off status events
Fix handling bus-off events in the Bosch M_CAN driver backend: - Cancel all pending TX buffers when entering bus-off state - Call all pending TX buffer callbacks with -ENETUNREACH when entering bus-off - Automatically initiate bus-off recovery if CONFIG_CAN_AUTO_BUS_OFF_RECOVERY=y Fixes: #68953 Signed-off-by: Henrik Brix Andersen <[email protected]> (cherry picked from commit 6e5c1ba)
- Loading branch information
1 parent
e867618
commit fadc3d9
Showing
1 changed file
with
48 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters