Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx> --- net/can/j1939/transport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/can/j1939/transport.c b/net/can/j1939/transport.c index 0af861485649..9bb9fbcf5754 100644 --- a/net/can/j1939/transport.c +++ b/net/can/j1939/transport.c @@ -1146,7 +1146,7 @@ static enum hrtimer_restart j1939_tp_rxtimer(struct hrtimer *hrtimer) /* The message is probably stuck in the CAN controller and can * be send as soon as CAN bus is in working state again. */ - session->err = -ENETUNREACH; + session->err = -ETIME; j1939_session_deactivate(session); } else { netdev_alert(priv->ndev, "%s: 0x%p: rx timeout, send abort\n", -- 2.20.1