mirror of
https://github.com/brmlab/osmo-tetra.git
synced 2025-06-08 01:45:04 +02:00
LLC: fix parsing of AL-FINAL
This commit is contained in:
parent
2840dc5f07
commit
194bf12a0a
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue