diff options
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/l1sap.c | 2 | ||||
-rw-r--r-- | src/common/measurement.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/common/l1sap.c b/src/common/l1sap.c index 01b454c4..f6a04eab 100644 --- a/src/common/l1sap.c +++ b/src/common/l1sap.c @@ -529,7 +529,7 @@ static int l1sap_info_meas_ind(struct gsm_bts_trx *trx, /* we assume that symbol period is 1 bit: */ set_ms_to_data(lchan, info_meas_ind->ta_offs_qbits / 4, true); - lchan_new_ul_meas(lchan, &ulm); + lchan_new_ul_meas(lchan, &ulm, info_meas_ind->fn); /* Check measurement period end and prepare the UL measurment * report at Meas period End*/ diff --git a/src/common/measurement.c b/src/common/measurement.c index 4b486d3a..69fbd94c 100644 --- a/src/common/measurement.c +++ b/src/common/measurement.c @@ -181,20 +181,20 @@ static int is_meas_complete(struct gsm_lchan *lchan, uint32_t fn) } /* receive a L1 uplink measurement from L1 */ -int lchan_new_ul_meas(struct gsm_lchan *lchan, struct bts_ul_meas *ulm) +int lchan_new_ul_meas(struct gsm_lchan *lchan, struct bts_ul_meas *ulm, uint32_t fn) { - DEBUGP(DMEAS, "%s adding measurement, num_ul_meas=%d\n", + DEBUGPFN(DMEAS, fn, "%s adding measurement, num_ul_meas=%d\n", gsm_lchan_name(lchan), lchan->meas.num_ul_meas); if (lchan->state != LCHAN_S_ACTIVE) { - LOGP(DMEAS, LOGL_NOTICE, + LOGPFN(DMEAS, LOGL_NOTICE, fn, "%s measurement during state: %s, num_ul_meas=%d\n", gsm_lchan_name(lchan), gsm_lchans_name(lchan->state), lchan->meas.num_ul_meas); } if (lchan->meas.num_ul_meas >= ARRAY_SIZE(lchan->meas.uplink)) { - LOGP(DMEAS, LOGL_NOTICE, + LOGPFN(DMEAS, LOGL_NOTICE, fn, "%s no space for uplink measurement, num_ul_meas=%d\n", gsm_lchan_name(lchan), lchan->meas.num_ul_meas); return -ENOSPC; |