aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/bts.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-06-15 23:22:26 +0800
committerHarald Welte <laforge@gnumonks.org>2012-06-15 23:24:55 +0800
commit54b8af0f6449a7854c751c37ea126c8ab6c678c1 (patch)
tree00d5aa91962632df9e55a3471392ebecf2b3daa2 /src/common/bts.c
parent9fdefc6ffec37d8971692a00df39e9bc6d706bb1 (diff)
use default value of 63 for maximum timing advance
As the careful commitlog reader Andreas points out: When the BSC does not sent NM_ATT_MAX_TA, then it would be zero instead of the specified default value of 63.
Diffstat (limited to 'src/common/bts.c')
-rw-r--r--src/common/bts.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/bts.c b/src/common/bts.c
index 077e6ed2..d00b7f05 100644
--- a/src/common/bts.c
+++ b/src/common/bts.c
@@ -69,6 +69,7 @@ int bts_init(struct gsm_bts *bts)
load_timer_start(bts);
btsb->rtp_jitter_buf_ms = 100;
+ btsb->max_ta = 63;
/* set BTS to dependency */
oml_mo_state_chg(&bts->mo, -1, NM_AVSTATE_DEPENDENCY);