diff options
author | Alexander Chemeris <Alexander.Chemeris@gmail.com> | 2020-06-06 00:58:04 +0300 |
---|---|---|
committer | Kirill Zakharenko <earwin@gmail.com> | 2020-06-06 02:22:34 +0300 |
commit | f7e70b5228affca2dfa2ce1fac57195acd06d0b9 (patch) | |
tree | 930ef9729b141f61810f2bc530b3abd6c616a3df | |
parent | 8dee5b7aacd3fea3186208e24c72592ede2b1382 (diff) |
TRX can't be usable when the RSL link is down.
Change-Id: Ib5137e95efd27e019d80ff6164e1f80615e517a6
-rw-r--r-- | src/osmo-bsc/gsm_data.c | 4 |
1 files changed, 4 insertions, 0 deletions
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) || |