diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-12-28 01:15:33 +0100 |
---|---|---|
committer | Minh-Quang Nguyen <minh-quang.nguyen@nutaq.com> | 2017-01-12 13:36:46 -0500 |
commit | 4e4b13f52363416e7c42e95f62cd616bba404148 (patch) | |
tree | 0543740f06c1922b83c415107066e9821238f36e | |
parent | 70ab9d7e963714ecd9125490760ef18fe61ba080 (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
-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 458f17f3..fce85d7c 100644 --- a/src/common/measurement.c +++ b/src/common/measurement.c @@ -202,7 +202,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; |