diff options
author | Harald Welte <laforge@gnumonks.org> | 2009-12-25 22:42:15 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2009-12-26 00:28:23 +0100 |
commit | 469b001b19d9fe63836f189e9e7a6461971b1bc6 (patch) | |
tree | 2c857f520a9c4d33fa91fbdc83b914d754d1333a /openbsc/src/gsm_04_08_utils.c | |
parent | 42a5652eb2032e1d7df19278b9e353f9cb40c7b4 (diff) |
[meas rep] Correctly parse neighbor cell index of first reported neighbor cell
Diffstat (limited to 'openbsc/src/gsm_04_08_utils.c')
-rw-r--r-- | openbsc/src/gsm_04_08_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/gsm_04_08_utils.c b/openbsc/src/gsm_04_08_utils.c index a85f20d6e..cda72797c 100644 --- a/openbsc/src/gsm_04_08_utils.c +++ b/openbsc/src/gsm_04_08_utils.c @@ -733,7 +733,7 @@ int gsm48_parse_meas_rep(struct gsm_meas_rep *rep, struct msgb *msg) /* an encoding nightmare in perfection */ rep->cell[0].rxlev = data[3] & 0x3f; - rep->cell[0].arfcn = bitvec_get_nth_set_bit(nbv, data[4] >> 2); + rep->cell[0].arfcn = bitvec_get_nth_set_bit(nbv, data[4] >> 3); rep->cell[0].bsic = ((data[4] & 0x07) << 3) | (data[5] >> 5); if (rep->num_cell < 2) return 0; |