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

tnt gerrit-no-reply at lists.osmocom.org
Fri May 8 11:58:59 UTC 2020


tnt has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/20/18120/1

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: 1
Gerrit-Owner: tnt <tnt at 246tNt.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200508/97e53653/attachment.htm>


More information about the gerrit-log mailing list