diff options
Diffstat (limited to 'src/libbsc/chan_alloc.c')
-rw-r--r-- | src/libbsc/chan_alloc.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/libbsc/chan_alloc.c b/src/libbsc/chan_alloc.c index ad24a1e78..07248fb23 100644 --- a/src/libbsc/chan_alloc.c +++ b/src/libbsc/chan_alloc.c @@ -36,11 +36,8 @@ static bool ts_is_usable(const struct gsm_bts_trx_ts *ts) { - /* FIXME: How does this behave for BS-11 ? */ - if (is_ipaccess_bts(ts->trx->bts)) { - if (!nm_is_running(&ts->mo.nm_state)) - return false; - } + if (!trx_is_usable(ts->trx)) + return false; /* If a TCH/F_PDCH TS is busy changing, it is already taken or not * yet available. */ |