From 4e4b13f52363416e7c42e95f62cd616bba404148 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Wed, 28 Dec 2016 01:15:33 +0100 Subject: 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 --- src/common/measurement.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3