aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/chan_alloc.h
diff options
context:
space:
mode:
authorHarald Welte (local) <laflocal@hanuman.gnumonks.org>2009-12-28 16:36:28 +0100
committerHarald Welte <laforge@netfilter.org>2009-12-29 11:00:18 +0100
commit82ff397e3118936e4a714334d82b75f765e6d842 (patch)
treeed7b13f42aa25f89f2f0f5c82fefc3a24fd09de3 /openbsc/include/openbsc/chan_alloc.h
parent1887f9d153497adc37cec5b8db6b7423ff64d6c0 (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/include/openbsc/chan_alloc.h')
-rw-r--r--openbsc/include/openbsc/chan_alloc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/chan_alloc.h b/openbsc/include/openbsc/chan_alloc.h
index fa8663056..f564e9e4d 100644
--- a/openbsc/include/openbsc/chan_alloc.h
+++ b/openbsc/include/openbsc/chan_alloc.h
@@ -61,4 +61,6 @@ struct pchan_load {
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);
+int trx_is_usable(struct gsm_bts_trx *trx);
+
#endif /* _CHAN_ALLOC_H */