TRX can't be usable when the RSL link is down.
Change-Id: Ib5137e95efd27e019d80ff6164e1f80615e517a6
This commit is contained in:
parent
8dee5b7aac
commit
f7e70b5228
|
@ -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) ||
|
||||
|
|
Loading…
Reference in New Issue