This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Harald Welte gerrit-no-reply at lists.osmocom.orgHarald Welte has submitted this change and it was merged.
Change subject: Use existing function to obtain TSC
......................................................................
Use existing function to obtain TSC
Change-Id: I209f26b527a41b3b6f8e405f2a21b3d4bc4746fb
---
M src/common/pcu_sock.c
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Harald Welte: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/src/common/pcu_sock.c b/src/common/pcu_sock.c
index e5bcf57..fa13f24 100644
--- a/src/common/pcu_sock.c
+++ b/src/common/pcu_sock.c
@@ -221,8 +221,8 @@
if (ts->mo.nm_state.operational == NM_OPSTATE_ENABLED
&& ts_should_be_pdch(ts)) {
info_ind->trx[i].pdch_mask |= (1 << j);
- info_ind->trx[i].tsc[j] =
- (ts->tsc >= 0) ? ts->tsc : bts->bsic & 7;
+ info_ind->trx[i].tsc[j] = gsm_ts_tsc(ts);
+
LOGP(DPCU, LOGL_INFO, "trx=%d ts=%d: "
"available (tsc=%d arfcn=%d)\n",
trx->nr, ts->nr,
--
To view, visit https://gerrit.osmocom.org/5649
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I209f26b527a41b3b6f8e405f2a21b3d4bc4746fb
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder