mirror of https://gerrit.osmocom.org/osmo-tetra
LLC: fix parsing of AL-FINAL
This commit is contained in:
parent
2840dc5f07
commit
194bf12a0a
|
@ -122,8 +122,7 @@ int tetra_llc_pdu_parse(struct tetra_llc_pdu *lpp, uint8_t *buf, int len)
|
|||
if (*cur++) {
|
||||
/* FINAL */
|
||||
cur++;
|
||||
cur += 2;
|
||||
lpp->ns = bits_to_uint(cur, 5); cur += 5;
|
||||
lpp->ns = bits_to_uint(cur, 3); cur += 3;
|
||||
lpp->ss = bits_to_uint(cur, 8); cur += 8;
|
||||
if (*cur++) {
|
||||
/* FIXME: FCS */
|
||||
|
|
Loading…
Reference in New Issue