aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/chan_alloc.c
diff options
context:
space:
mode:
authorHarald Welte (local) <laflocal@hanuman.gnumonks.org>2009-12-28 16:36:28 +0100
committerHarald Welte (local) <laflocal@hanuman.gnumonks.org>2009-12-28 16:36:28 +0100
commitfcfc53a33dfbc342cbc4de40308a7ecac905a743 (patch)
tree72575bd34a0f28e0990ba611600641241f23778e /openbsc/src/chan_alloc.c
parentc6e0e9a4e386a6333d282e77f56be2c9ff26d383 (diff)
export the 'trx_is_usable() function and use it from paging
this ensures we don't send paging requests to currently inactive transceivers.
Diffstat (limited to 'openbsc/src/chan_alloc.c')
-rw-r--r--openbsc/src/chan_alloc.c2
1 files changed, 1 insertions, 1 deletions
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)) {