mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
can: sja1000: do not report txerr and rxerr during bus-off
[ Upstream commit164d7cb2d5] During bus off, the error count is greater than 255 and can not fit in a u8. Fixes:215db1856e("can: sja1000: Consolidate and unify state change handling") Link: https://lore.kernel.org/all/20220719143550.3681-4-mailhol.vincent@wanadoo.fr Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
076ead9a12
commit
fedf098ae2
1 changed files with 4 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue