aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/measurement.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/measurement.c')
-rw-r--r--src/common/measurement.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/measurement.c b/src/common/measurement.c
index 22f783df..f73f43b7 100644
--- a/src/common/measurement.c
+++ b/src/common/measurement.c
@@ -739,7 +739,9 @@ int lchan_meas_check_compute(struct gsm_lchan *lchan, uint32_t fn)
* interval. */
int lchan_meas_process_measurement(struct gsm_lchan *lchan, struct bts_ul_meas *ulm, uint32_t fn)
{
- lchan_new_ul_meas(lchan, ulm, fn);
+ unsigned int i;
+ for (i = 0; i < ulm->weight; i++)
+ lchan_new_ul_meas(lchan, ulm, fn);
return lchan_meas_check_compute(lchan, fn);
}