diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-12-28 01:15:33 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-01-06 10:32:19 +0000 |
commit | bfd42c2b0aa3d4b945bf3e61c5968b96656e3660 (patch) | |
tree | 6c7425a2401c7337a9298755ca357266a22a6f49 /src/common/measurement.c | |
parent | f9778b2a26ce06959ee7e188eb1d533d896f1846 (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/common/measurement.c')
-rw-r--r-- | src/common/measurement.c | 2 |
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; |