mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
can: kvaser_usb_leaf: do not report txerr and rxerr during bus-off
[ Upstream commita57732084e] During bus off, the error count is greater than 255 and can not fit in a u8. Fixes:7259124eac("can: kvaser_usb: Split driver into kvaser_usb_core.c and kvaser_usb_leaf.c") Link: https://lore.kernel.org/all/20220719143550.3681-9-mailhol.vincent@wanadoo.fr CC: Jimmy Assarsson <extja@kvaser.com> 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
7f41778a7c
commit
46968be06c
1 changed files with 4 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue