summaryrefslogtreecommitdiffstats
path: root/tests/bits/bitrev_test.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2013-06-18 21:41:34 +0200
committerHarald Welte <laforge@gnumonks.org>2013-06-18 21:41:34 +0200
commit087116aca771ae3cd2dcbcbd8cb63a91dfc75f20 (patch)
treea3e8fcb7e592dae243ae11e8585adca9a2526af4 /tests/bits/bitrev_test.c
parent1e4400d26a7e3a947a1d6235e7d0615506311860 (diff)
lapd_core: msgb_trim() the L2 padding from ESTABLISH.ind
When a SABM(E) frame arrives, we have to trim the L2 padding (0x2b for gsm) before handing the data off to L3, just like we do with I frames. Also, we should use mggb_trim() or even msgb_l3trim() instead of manually fiddling with msgb->length and ->tail pointers.
Diffstat (limited to 'tests/bits/bitrev_test.c')
0 files changed, 0 insertions, 0 deletions