diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-03-08 20:04:42 +0100 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2018-03-08 21:18:34 +0100 |
commit | c2045474b1b500a6cc38c00cc807978ce9e8c5e5 (patch) | |
tree | cdca7c2d8b7fbb4a961a1956d0dbddd2b08c5d9c /src/osmo-bts-sysmo/hw_misc.c | |
parent | 7eed026efc0b75608b37521147db140c06fca5b1 (diff) |
fix handover: handle_ph_ra_ind(): evaluate ra_ind before msgb_trim()
Commit c2b4c668f3510b7b0baace749c5a310959010e90
I3b989580cb38082e3fd8fc50a11fedda13991092 introduces evaluation of ra_ind
members below the msgb_trim() call that actually invalidates ra_ind.
A symptom is that it breaks detection of Handover RACH, wich always ends up
with lchan == NULL and interpreting all RACH as chan_nr == 0x88.
Fix: do all evaluation of ra_ind before the msgb_trim(), for osmo-bts-sysmo,
litecell-15 and octphy.
To guard against similar mistakes in the future, set ra_ind = NULL before the
msgb_trim() call.
Related: OS#3045
Change-Id: I203021ee57f49cb963679ba8bec5943e2abb67fb
Diffstat (limited to 'src/osmo-bts-sysmo/hw_misc.c')
0 files changed, 0 insertions, 0 deletions