diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2014-02-21 15:09:12 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-02-22 08:41:02 +0100 |
commit | 37c332e5bfdb9591a1cd3cc6746afffdb1cd13b9 (patch) | |
tree | c728088107ecd603b772f978b75b83b6ea1da9b7 /src/common/bts.c | |
parent | bbfd21a36cdd10c3b8d83a329042d9ebfb4c5250 (diff) |
agch/rsl: Fix msgb handling for IMMEDIATE ASSIGN
Currently, the msg->data pointer is just set to the IMMEDIATE ASSIGN
message and the len is adjusted accordingly. Unfortunately, this
leaves l2h (pointing to the RSL header) and l3h (pointing to the
FULL_IMM_ASS_INFO IE) in an undefined state (outside of [data, tail]).
The code in bts.c accesses the message via msg->data.
This patch sets l3h and l2h correctly. msgb_l3() will point to the
start of the IMM ASS message and should be used instead of msg->data.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/common/bts.c')
0 files changed, 0 insertions, 0 deletions