measurement report: correctly parse BSIC of first neighbor cell

This commit is contained in:
Harald Welte 2009-12-16 23:29:12 +01:00
parent 88a412ac80
commit 73ddaeddd2
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ int gsm48_parse_meas_rep(struct gsm_meas_rep *rep, struct msgb *msg)
rep->cell[0].rxlev = data[3] & 0x3f;
rep->cell[0].arfcn = bitvec_get_nth_set_bit(nbv, data[4] >> 2);
rep->cell[0].bsic = ((data[4] & 0x03) << 3) | (data[5] >> 5);
rep->cell[0].bsic = ((data[4] & 0x07) << 3) | (data[5] >> 5);
if (rep->num_cell < 2)
return 0;