aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/measurement.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/measurement.c')
-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;