measurement report: correctly parse BSIC of first neighbor cell
This commit is contained in:
parent
88a412ac80
commit
73ddaeddd2
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue