diff options
-rw-r--r-- | include/osmocom/bsc/chan_alloc.h | 1 | ||||
-rw-r--r-- | src/libbsc/chan_alloc.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/osmocom/bsc/chan_alloc.h b/include/osmocom/bsc/chan_alloc.h index 62d0286ef..f2a75c5b8 100644 --- a/include/osmocom/bsc/chan_alloc.h +++ b/include/osmocom/bsc/chan_alloc.h @@ -47,5 +47,6 @@ void bts_chan_load(struct pchan_load *cl, const struct gsm_bts *bts); void network_chan_load(struct pchan_load *pl, struct gsm_network *net); bool trx_is_usable(const struct gsm_bts_trx *trx); +bool ts_is_usable(const struct gsm_bts_trx_ts *ts); #endif /* _CHAN_ALLOC_H */ diff --git a/src/libbsc/chan_alloc.c b/src/libbsc/chan_alloc.c index 1566becf3..bb7df180d 100644 --- a/src/libbsc/chan_alloc.c +++ b/src/libbsc/chan_alloc.c @@ -34,7 +34,7 @@ #include <osmocom/core/talloc.h> -static bool ts_is_usable(const struct gsm_bts_trx_ts *ts) +bool ts_is_usable(const struct gsm_bts_trx_ts *ts) { if (!trx_is_usable(ts->trx)) return false; |