diff options
author | Harald Welte <laforge@gnumonks.org> | 2013-06-18 21:41:34 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2013-06-18 21:41:34 +0200 |
commit | 087116aca771ae3cd2dcbcbd8cb63a91dfc75f20 (patch) | |
tree | a3e8fcb7e592dae243ae11e8585adca9a2526af4 /src/crc16.c | |
parent | 1e4400d26a7e3a947a1d6235e7d0615506311860 (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 'src/crc16.c')
0 files changed, 0 insertions, 0 deletions