aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/paging.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-01-27 09:10:05 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-07 23:14:36 +0200
commitd4e7888ae3b3b5d195b75fe317d97bfd3606e4cb (patch)
treef47d750519ba43b0a521d294ba84ad36883cb0a7 /openbsc/src/paging.c
parent6c8c0ddbe21c45f16ed996a9cb38b0fb3b9bc66f (diff)
[paging] Increase the time used to send paging messages to the BTS
Send a Paging Request to the BTS every two seconds. This way it is unlikely that a phone will try to respond to two paging requests as it is currently happening.
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 7c3750d66..9c978bee6 100644
--- a/openbsc/src/paging.c
+++ b/openbsc/src/paging.c
@@ -160,7 +160,7 @@ static void paging_handle_pending_requests(struct gsm_bts_paging_state *paging_b
} while (paging_bts->available_slots > 0
&& initial_request != current_request);
- bsc_schedule_timer(&paging_bts->work_timer, 1, 0);
+ bsc_schedule_timer(&paging_bts->work_timer, 2, 0);
}
static void paging_worker(void *data)
@@ -245,7 +245,7 @@ static int _paging_request(struct gsm_bts *bts, struct gsm_subscriber *subscr,
llist_add_tail(&req->entry, &bts_entry->pending_requests);
if (!bsc_timer_pending(&bts_entry->work_timer))
- bsc_schedule_timer(&bts_entry->work_timer, 1, 0);
+ bsc_schedule_timer(&bts_entry->work_timer, 2, 0);
return 0;
}