aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gsm_data.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-12-01 17:36:54 +0530
committerHarald Welte <laforge@gnumonks.org>2009-12-01 17:36:54 +0530
commitb84ddfc22f60ed42c0c0ee5367c42a56157a7c75 (patch)
treed1a1b0414ef36d5e90c83ac250ca18719436a609 /openbsc/src/gsm_data.c
parentdbb1d883594ba8796acbc7831d4ad042c7070d12 (diff)
Assign default values for T3101 and T3113
Without those default values, old config files will no longer work after commit 23975e718fd456ff8be7effbb915903f1bc173be
Diffstat (limited to 'openbsc/src/gsm_data.c')
-rw-r--r--openbsc/src/gsm_data.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/src/gsm_data.c b/openbsc/src/gsm_data.c
index 8212346ec..88de4c462 100644
--- a/openbsc/src/gsm_data.c
+++ b/openbsc/src/gsm_data.c
@@ -198,6 +198,9 @@ struct gsm_network *gsm_network_init(u_int16_t country_code, u_int16_t network_c
net->country_code = country_code;
net->network_code = network_code;
net->num_bts = 0;
+ net->T3101 = GSM_T3101_DEFAULT;
+ net->T3113 = GSM_T3113_DEFAULT;
+ /* FIXME: initialize all other timers! */
INIT_LLIST_HEAD(&net->trans_list);
INIT_LLIST_HEAD(&net->upqueue);