aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-09-21 17:14:09 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2021-09-23 14:07:53 +0200
commit0c44a9219762eef3d23a0d9f6ed8d4164ca5bccc (patch)
treef07bcab1f471dc7a3a407fc0f4ed8c7cb678128e
parentbc6d35f52d4d3abd650afb05475ad5a818737fe2 (diff)
bts-trx: Keep the process ongoing trying to reconnect on Abis link down
-rw-r--r--src/osmo-bts-trx/l1_if.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/osmo-bts-trx/l1_if.c b/src/osmo-bts-trx/l1_if.c
index f35c9bab..8263cabb 100644
--- a/src/osmo-bts-trx/l1_if.c
+++ b/src/osmo-bts-trx/l1_if.c
@@ -195,10 +195,11 @@ void bts_model_trx_close(struct gsm_bts_trx *trx)
osmo_fsm_inst_dispatch(trx->bb_transc.mo.fi, NM_EV_DISABLE, NULL);
}
-/* on RSL failure, deactivate transceiver */
void bts_model_abis_close(struct gsm_bts *bts)
{
- bts_shutdown(bts, "Abis close");
+ /* Go into shutdown state deactivating transceivers until Abis link
+ * becomes up again */
+ bts_shutdown_ext(bts, "Abis close", false);
}
int bts_model_adjst_ms_pwr(struct gsm_lchan *lchan)