summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2020-07-27 21:58:46 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-07-27 21:58:46 +0200
commitae9f7b02996d1d6d3649a69d5b3c61b259c0e465 (patch)
tree21bf0600d5d4addfcdc93b5fa825a28a78326de3 /lib
parent8c96ab8178ff33e9111faa0ee60dcdcb16047720 (diff)
parent1915553bf8b6a2d26dfda73069d9ee76ea9e09f5 (diff)
downloadbarebox-ae9f7b02996d1d6d3649a69d5b3c61b259c0e465.tar.gz
Merge branch 'for-next/ratp'
Diffstat (limited to 'lib')
-rw-r--r--lib/ratp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ratp.c b/lib/ratp.c
index 1901cc8ea8..ce30223bac 100644
--- a/lib/ratp.c
+++ b/lib/ratp.c
@@ -1109,6 +1109,8 @@ static int ratp_behaviour_h2(struct ratp_internal *ri, void *pkt)
ratp_state_change(ri, RATP_STATE_LAST_ACK);
+ ri->sn_received = ratp_sn(hdr);
+
return 1;
}