aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-trx
diff options
context:
space:
mode:
authorIvan Klyuchnikov <kluchnikovi@gmail.com>2017-02-06 19:17:08 +0000
committerHarald Welte <laforge@gnumonks.org>2017-02-14 16:50:11 +0000
commitc4ac69dcc2bd3825e73f2a026dccc8813dcbe592 (patch)
tree129013c3dd5d8b25e2f794de33c9613e811a322f /src/osmo-bts-trx
parentb390dfb90dfd0b38d17cea931ec0d0e194e2a4a1 (diff)
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
Diffstat (limited to 'src/osmo-bts-trx')
-rw-r--r--src/osmo-bts-trx/l1_if.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/osmo-bts-trx/l1_if.c b/src/osmo-bts-trx/l1_if.c
index 6c1969c4..abb16eb7 100644
--- a/src/osmo-bts-trx/l1_if.c
+++ b/src/osmo-bts-trx/l1_if.c
@@ -326,10 +326,7 @@ int bts_model_trx_close(struct gsm_bts_trx *trx)
/* 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)