aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/paging.c
diff options
context:
space:
mode:
authorHolger Freyther <ich@tamarin.(none)>2009-03-31 04:35:19 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2009-06-10 13:20:39 +0200
commit04866d42792f59b334a13e836237947222b41127 (patch)
tree2ae505601aeaa371677ad1963f571d25950e7744 /openbsc/src/paging.c
parentfdac4cc176892734ad782dccc2dc45a0282298a2 (diff)
Proposal for a "channel request" interface...
Reuqests for a subscriber a stored within the gsm_subscriber datastructure and it will keep track how many channels are allocated for this user and of which type to decide on policy... e.g. attempt to submit SMS during a phone call and not doing paging but a simple (immediate) assignment of the channel...
Diffstat (limited to 'openbsc/src/paging.c')
-rw-r--r--openbsc/src/paging.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/paging.c b/openbsc/src/paging.c
index df11da0e6..8f15e1640 100644
--- a/openbsc/src/paging.c
+++ b/openbsc/src/paging.c
@@ -237,13 +237,13 @@ static void _paging_request(struct gsm_bts *bts, struct gsm_subscriber *subscr,
bsc_schedule_timer(&bts_entry->work_timer, 1, 0);
}
-void paging_request(struct gsm_bts *_bts, struct gsm_subscriber *subscr,
+void paging_request(struct gsm_network *network, struct gsm_subscriber *subscr,
int type, gsm_cbfn *cbfn, void *data)
{
struct gsm_bts *bts = NULL;
do {
- bts = gsm_bts_by_lac(_bts->network, subscr->lac, bts);
+ bts = gsm_bts_by_lac(network, subscr->lac, bts);
if (!bts)
break;