[handover] don't use measurement reports with NCELL=7

NCELL=7 inidicates that there was no neighbor cell info in the SI5
on the SACCH.
This commit is contained in:
Harald Welte 2009-12-19 21:29:19 +01:00
parent 50e7fec9b8
commit e786c32bc9
1 changed files with 3 additions and 0 deletions

View File

@ -71,6 +71,9 @@ static int process_meas_rep(struct gsm_meas_rep *mr)
/* FIXME: implement actual averaging over multiple measurement
* reports */
if (mr->num_cell > 6)
return 0;
/* find the best cell in this report that is at least RXLEV_HYST
* better than the current serving cell */
for (i = 0; i < mr->num_cell; i++) {