aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/input/ipaccess.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-19 21:54:35 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-19 22:30:21 +0800
commitcaf24567d134e3e783ca8f271c7cd9b21237ee35 (patch)
tree930e9eddd788945e248255c001d6cc589fc7547e /openbsc/src/input/ipaccess.c
parent1d34c6ac5af41c058ec76ee92c3045feed3fe9af (diff)
BAND AID... Reduce the delay timer, reduce number of paging requests we send
This is a band aid and not a proper fix. Reduce the time between two IPA commands even if it is breaking rugby sized BTSs, limit the paging commands we send during one iteration through the event loop. This should prevent us from killing ourselves in a RACH loop.
Diffstat (limited to 'openbsc/src/input/ipaccess.c')
-rw-r--r--openbsc/src/input/ipaccess.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/src/input/ipaccess.c b/openbsc/src/input/ipaccess.c
index 8a8a1987d..faa172b38 100644
--- a/openbsc/src/input/ipaccess.c
+++ b/openbsc/src/input/ipaccess.c
@@ -572,7 +572,8 @@ static int handle_ts1_write(struct bsc_fd *bfd)
e1i_ts->sign.tx_timer.data = e1i_ts;
/* Reducing this might break the nanoBTS 900 init. */
- bsc_schedule_timer(&e1i_ts->sign.tx_timer, 0, 100000);
+ /* BAND AID for paging problem */
+ bsc_schedule_timer(&e1i_ts->sign.tx_timer, 0, 100);
return ret;
}