measurement: make sure that DL measurements are valid
In repeated_dl_facch_active_decision() we rely on the Measurement Report message, that in some cases may not contain valid Downlink measurements. In this case, we should simply ignore it. Change-Id: I0d72b454f2b770d5762303fb70a15a8cdc9d07d7 Related: SYS#5114
This commit is contained in:
parent
45094096b1
commit
dffb6fac25
|
@ -833,6 +833,8 @@ static void repeated_dl_facch_active_decision(struct gsm_lchan *lchan,
|
|||
if (gh->msg_type != GSM48_MT_RR_MEAS_REP)
|
||||
goto out;
|
||||
meas_res = (const struct gsm48_meas_res *) gh->data;
|
||||
if (meas_res->meas_valid != 0) /* 0 = valid */
|
||||
goto out;
|
||||
|
||||
/* If the RXQUAL level at the MS drops under a certain threshold
|
||||
* we enable FACCH repetition. */
|
||||
|
|
Loading…
Reference in New Issue