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
This commit is contained in:
Neels Hofmeyr 2016-12-28 01:15:33 +01:00 committed by Harald Welte
parent f9778b2a26
commit bfd42c2b0a
1 changed files with 1 additions and 1 deletions

View File

@ -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;