From 82ff397e3118936e4a714334d82b75f765e6d842 Mon Sep 17 00:00:00 2001 From: "Harald Welte (local)" Date: Mon, 28 Dec 2009 16:36:28 +0100 Subject: export the 'trx_is_usable() function and use it from paging this ensures we don't send paging requests to currently inactive transceivers. --- openbsc/src/chan_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc/src/chan_alloc.c') diff --git a/openbsc/src/chan_alloc.c b/openbsc/src/chan_alloc.c index abf4de891..8141e4774 100644 --- a/openbsc/src/chan_alloc.c +++ b/openbsc/src/chan_alloc.c @@ -47,7 +47,7 @@ static int ts_is_usable(struct gsm_bts_trx_ts *ts) return 1; } -static int trx_is_usable(struct gsm_bts_trx *trx) +int trx_is_usable(struct gsm_bts_trx *trx) { /* FIXME: How does this behave for BS-11 ? */ if (is_ipaccess_bts(trx->bts)) { -- cgit v1.2.3