Skip to content
Commit fda3f540 authored by Henrik Brix Andersen's avatar Henrik Brix Andersen Committed by Fabio Baltieri
Browse files

drivers: can: return -ENETUNREACH from can_send() if in bus off state



Change the error code for can_send() when the CAN controller is in bus off
state from -ENETDOWN to -ENETUNREACH.

Signed-off-by: default avatarHenrik Brix Andersen <hebad@vestas.com>
parent 533a6c64
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment