aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
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-01-27 12:31:50 +0100
commit7d06063cfba1a1c1322e2932ee360d9675bd2fd9 (patch)
tree2f4219986b5d7baa95c059dc9391c7d8eda217cf /openbsc
parent4e42b637fde1dd76b5c65ffc47b86e69d7356e46 (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')
-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 538e0a8ec..c64bffdbd 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;
}