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:
Henrik Brix Andersen <hebad@vestas.com>
Loading
Please sign in to comment