[MERGED] osmo-bts[master]: fix: dyn ts: uplink measurement report

Harald Welte gerrit-no-reply at lists.osmocom.org
Fri Jan 6 10:32:19 UTC 2017


Harald Welte has submitted this change and it was merged.

Change subject: fix: dyn ts: uplink measurement report
......................................................................


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
---
M src/common/measurement.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Max: Looks good to me, but someone else must approve
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/common/measurement.c b/src/common/measurement.c
index be1d4f6..6a11888 100644
--- a/src/common/measurement.c
+++ b/src/common/measurement.c
@@ -144,7 +144,7 @@
 	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;
 

-- 
To view, visit https://gerrit.osmocom.org/1507
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id19316701fd8de6f295eeae0272eea0c315ab1b7
Gerrit-PatchSet: 2
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <msuraev at sysmocom.de>


More information about the gerrit-log mailing list