aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-12-28 01:15:33 +0100
committerHarald Welte <laforge@gnumonks.org>2017-01-06 10:32:19 +0000
commitbfd42c2b0aa3d4b945bf3e61c5968b96656e3660 (patch)
tree6c7425a2401c7337a9298755ca357266a22a6f49 /src
parentf9778b2a26ce06959ee7e188eb1d533d896f1846 (diff)
fix: dyn ts: uplink measurement report
Fix pchan value used for uplink measurement decisions for dynamic channels in TCH mode. Fixes this error log message flooding the osmo-bts log when a dyn ts is serving a voice call: <0004> ../../../src/common/measurement.c:104 (bts=0,trx=0,ts=3,ss=0) no space for uplink measurement Change-Id: Id19316701fd8de6f295eeae0272eea0c315ab1b7
Diffstat (limited to 'src')
-rw-r--r--src/common/measurement.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/measurement.c b/src/common/measurement.c
index be1d4f64..6a118880 100644
--- a/src/common/measurement.c
+++ b/src/common/measurement.c
@@ -144,7 +144,7 @@ static int lchan_meas_check_compute(struct gsm_lchan *lchan, uint32_t fn)
int i;
/* if measurement period is not complete, abort */
- if (!is_meas_complete(lchan->ts->pchan, lchan->ts->nr,
+ if (!is_meas_complete(ts_pchan(lchan->ts), lchan->ts->nr,
lchan->nr, fn))
return 0;