aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/l1sap.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/common/l1sap.c b/src/common/l1sap.c
index 6c509e3c..d79069d6 100644
--- a/src/common/l1sap.c
+++ b/src/common/l1sap.c
@@ -415,11 +415,6 @@ static int l1sap_info_time_ind(struct gsm_bts *bts,
/* Update time on PCU interface */
pcu_tx_time_ind(info_time_ind->fn);
- /* check if the measurement period of some lchan has ended
- * and pre-compute the respective measurement */
- llist_for_each_entry(trx, &bts->trx_list, list)
- trx_meas_check_compute(trx, info_time_ind->fn - 1);
-
/* increment number of RACH slots that have passed by since the
* last time indication */
btsb->load.rach.total +=
@@ -478,6 +473,10 @@ static int l1sap_info_meas_ind(struct gsm_bts_trx *trx,
lchan_new_ul_meas(lchan, &ulm);
+ /* Check measurement period end and prepare the UL measurment
+ * report at Meas period End*/
+ lchan_meas_check_compute(lchan, info_meas_ind->fn);
+
return 0;
}