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

Ivan Kluchnikov gerrit-no-reply at lists.osmocom.org
Thu Feb 9 16:35:57 UTC 2017

Review at  https://gerrit.osmocom.org/1788

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 properly 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/1

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: newchange
Gerrit-Change-Id: Id025e703dd5c91896d450d200e88e46552f178f0
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Ivan Kluchnikov <kluchnikovi at gmail.com>

More information about the gerrit-log mailing list