[PATCH] osmo-bts[master]: osmo-trx-bts: Fix incorrect bts shutdown procedure in case o...

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

Max gerrit-no-reply at lists.osmocom.org
Thu Feb 9 18:55:16 UTC 2017


Hello Jenkins Builder,

I'd like you to reexamine a change.  Please visit

    https://gerrit.osmocom.org/1788

to look at the new patch set (#2).

osmo-trx-bts: Fix incorrect bts shutdown procedure in case of abis connection closure

This issue occurs in case of osmo-nitb restart which leads to abis connection closure.
Function bts_shutdown from common/bts.c should be used in this case for proper bts shutdown.

Change-Id: Id025e703dd5c91896d450d200e88e46552f178f0
---
M src/osmo-bts-trx/l1_if.c
1 file changed, 1 insertion(+), 4 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/88/1788/2

diff --git a/src/osmo-bts-trx/l1_if.c b/src/osmo-bts-trx/l1_if.c
index 6c1969c..abb16eb 100644
--- a/src/osmo-bts-trx/l1_if.c
+++ b/src/osmo-bts-trx/l1_if.c
@@ -326,10 +326,7 @@
 /* on RSL failure, deactivate transceiver */
 void bts_model_abis_close(struct gsm_bts *bts)
 {
-	struct gsm_bts_trx *trx;
-
-	llist_for_each_entry(trx, &bts->trx_list, list)
-		bts_model_trx_close(trx);
+	bts_shutdown(bts, "Abis close");
 }
 
 int bts_model_adjst_ms_pwr(struct gsm_lchan *lchan)

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

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Id025e703dd5c91896d450d200e88e46552f178f0
Gerrit-PatchSet: 2
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Ivan Kluchnikov <kluchnikovi at gmail.com>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list