Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx> --- net/can/j1939/transport.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/can/j1939/transport.c b/net/can/j1939/transport.c index 51503977baa5..4d285a92bd41 100644 --- a/net/can/j1939/transport.c +++ b/net/can/j1939/transport.c @@ -1101,6 +1101,7 @@ static enum hrtimer_restart j1939_tp_txtimer(struct hrtimer *hrtimer) J1939_XTP_ABORT_TIMEOUT_MS); j1939_session_cancel(session, J1939_XTP_ABORT_OTHER); } else { + session->err = ret; j1939_session_rxtimer_cancel(session); j1939_session_deactivate_activate_next(session); } -- 2.20.1