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++) {
|
if (*cur++) {
|
||||||
/* FINAL */
|
/* FINAL */
|
||||||
cur++;
|
cur++;
|
||||||
cur += 2;
|
lpp->ns = bits_to_uint(cur, 3); cur += 3;
|
||||||
lpp->ns = bits_to_uint(cur, 5); cur += 5;
|
|
||||||
lpp->ss = bits_to_uint(cur, 8); cur += 8;
|
lpp->ss = bits_to_uint(cur, 8); cur += 8;
|
||||||
if (*cur++) {
|
if (*cur++) {
|
||||||
/* FIXME: FCS */
|
/* FIXME: FCS */
|
||||||
|
|
Loading…
Reference in New Issue