Change in osmo-bsc[master]: bts_ericsson_rbs2000: Init all the TRX, not just C0

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/.

laforge gerrit-no-reply at lists.osmocom.org
Fri May 8 16:07:23 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/18120 )

Change subject: bts_ericsson_rbs2000: Init all the TRX, not just C0
......................................................................

bts_ericsson_rbs2000: Init all the TRX, not just C0

Signed-off-by: Sylvain Munaut <tnt at 246tNt.com>
Change-Id: I9417f433f759ce21b8b6e0b74cd686df5388f8c5
---
M src/osmo-bsc/bts_ericsson_rbs2000.c
1 file changed, 6 insertions(+), 2 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve



diff --git a/src/osmo-bsc/bts_ericsson_rbs2000.c b/src/osmo-bsc/bts_ericsson_rbs2000.c
index 4d1e91b..f98c647 100644
--- a/src/osmo-bsc/bts_ericsson_rbs2000.c
+++ b/src/osmo-bsc/bts_ericsson_rbs2000.c
@@ -34,11 +34,15 @@
 
 static void bootstrap_om_bts(struct gsm_bts *bts)
 {
+	struct gsm_bts_trx *trx;
+
 	LOGP(DNM, LOGL_NOTICE, "bootstrapping OML for BTS %u\n", bts->nr);
 
-	/* FIXME: this is global init, not bootstrapping */
+	/* Global init (not bootstrapping) */
 	abis_om2k_bts_init(bts);
-	abis_om2k_trx_init(bts->c0);
+
+	llist_for_each_entry(trx, &bts->trx_list, list)
+		abis_om2k_trx_init(trx);
 
 	/* TODO: Should we wait for a Failure report? */
 	om2k_bts_fsm_start(bts);

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/18120
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I9417f433f759ce21b8b6e0b74cd686df5388f8c5
Gerrit-Change-Number: 18120
Gerrit-PatchSet: 4
Gerrit-Owner: tnt <tnt at 246tNt.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200508/be635085/attachment.htm>


More information about the gerrit-log mailing list