commit | 002392c6464c2e119824858b9b0adec927547be7 | [log] [tgz] |
---|---|---|
author | Henrik Brix Andersen <hebad@vestas.com> | Tue Feb 13 20:21:17 2024 +0100 |
committer | Fabio Baltieri <fabio.baltieri@gmail.com> | Tue Mar 05 17:35:00 2024 +0000 |
tree | cfdc42aca78eefe3f38f8e2918d41ae470129baa | |
parent | e8676185931b24da375cf51a65a18cd1772fd1f9 [diff] |
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 <hebad@vestas.com> (cherry picked from commit 6e5c1ba3c189a068e2146e7af641b93dd1d92cae)