aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-20 10:59:33 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-20 10:59:33 +0800
commit507d536ce8139218aa61be9067d9eaac698f1647 (patch)
treef68ac26127fbb7f53ba64bce9b5ae2f5e1521325
parentcb618c798077c710ea04915567dfe76b59cf2a50 (diff)
[paging] When giving credit try to send out paging requests too.
Make sure the paging timer is restarted after giving some credit and send out paging requests.
-rw-r--r--openbsc/src/paging.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/paging.c b/openbsc/src/paging.c
index 6f607bd68..2473b3bc9 100644
--- a/openbsc/src/paging.c
+++ b/openbsc/src/paging.c
@@ -96,12 +96,14 @@ static void page_ms(struct gsm_paging_request *request)
request->chan_type);
}
+static void paging_handle_pending_requests(struct gsm_bts_paging_state *paging_bts);
static void paging_give_credit(void *data)
{
struct gsm_bts_paging_state *paging_bts = data;
LOGP(DPAG, LOGL_NOTICE, "No slots available on bts nr %d\n", paging_bts->bts->nr);
paging_bts->available_slots = 20;
+ paging_handle_pending_requests(paging_bts);
}
/*