From f7e70b5228affca2dfa2ce1fac57195acd06d0b9 Mon Sep 17 00:00:00 2001 From: Alexander Chemeris Date: Sat, 6 Jun 2020 00:58:04 +0300 Subject: TRX can't be usable when the RSL link is down. Change-Id: Ib5137e95efd27e019d80ff6164e1f80615e517a6 --- src/osmo-bsc/gsm_data.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/osmo-bsc/gsm_data.c b/src/osmo-bsc/gsm_data.c index 46e26acff..0df45bf5c 100644 --- a/src/osmo-bsc/gsm_data.c +++ b/src/osmo-bsc/gsm_data.c @@ -1373,6 +1373,10 @@ bool ts_is_tch(struct gsm_bts_trx_ts *ts) bool trx_is_usable(const struct gsm_bts_trx *trx) { + /* not usable when RSL link is down */ + if (trx->rsl_link == NULL) + return false; + /* FIXME: How does this behave for BS-11 ? */ if (is_ipaccess_bts(trx->bts)) { if (!nm_is_running(&trx->mo.nm_state) || -- cgit v1.2.3