diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-20 10:54:43 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-20 10:54:43 +0800 |
commit | cb618c798077c710ea04915567dfe76b59cf2a50 (patch) | |
tree | 853fdce7f384f076f993c80c73db33bc25951a9b /openbsc/src | |
parent | 3c0702d3c533ef33572f49708b601b41a541fc92 (diff) |
[paging] Revert the paging band aid.
Diffstat (limited to 'openbsc/src')
-rw-r--r-- | openbsc/src/paging.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/openbsc/src/paging.c b/openbsc/src/paging.c index 07683ad64..6f607bd68 100644 --- a/openbsc/src/paging.c +++ b/openbsc/src/paging.c @@ -116,10 +116,6 @@ static void paging_handle_pending_requests(struct gsm_bts_paging_state *paging_b struct gsm_paging_request *initial_request = NULL; struct gsm_paging_request *current_request = NULL; - /* BAND AID to throttle the paging requests we send. Not more than 10. */ - int req = 0; - static const int REQ_LIMIT = 5; - /* * Determine if the pending_requests list is empty and * return then. @@ -159,8 +155,7 @@ static void paging_handle_pending_requests(struct gsm_bts_paging_state *paging_b current_request = llist_entry(paging_bts->pending_requests.next, struct gsm_paging_request, entry); } while (paging_bts->available_slots > 0 - && initial_request != current_request - && req++ < REQ_LIMIT); + && initial_request != current_request); bsc_schedule_timer(&paging_bts->work_timer, 2, 0); } |