Skip to content
Commit 6ebc5e8f authored by Martin Lederhilger's avatar Martin Lederhilger Committed by Marc Kleine-Budde
Browse files

can: ems_usb: improve error reporting for error warning and error passive



This patch adds the missing CAN_ERR_CRTL to cf->can_id in case of
CAN_STATE_ERROR_WARNING or CAN_STATE_ERROR_PASSIVE

Signed-off-by: default avatarMartin Lederhilger <m.lederhilger@ds-automotion.com>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 13454c14
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment