aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libbsc
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-07-20 13:52:55 +0200
committerHarald Welte <laforge@gnumonks.org>2017-07-20 13:52:55 +0200
commit8288b1203a6631f8674f02a2964efcf22f5b26c2 (patch)
tree78b125b824149ff2393608b7fa0b55c1e353fe0b /openbsc/src/libbsc
parentab2454e776f1a4bc4977ef48ec2844600f85176b (diff)
remove code disabling T3109 if configured to 0
We no longer permit timers with a 0 value, so this case can never happen. Also, if it should happen, I'd rather have a timter expiring immediately (and breaking something) than not being started in the first place. Change-Id: Ibfcdd3ddc0155caee89c501498329bde247621a0
Diffstat (limited to 'openbsc/src/libbsc')
-rw-r--r--openbsc/src/libbsc/abis_rsl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/openbsc/src/libbsc/abis_rsl.c b/openbsc/src/libbsc/abis_rsl.c
index f537cf24c..f4fd6de32 100644
--- a/openbsc/src/libbsc/abis_rsl.c
+++ b/openbsc/src/libbsc/abis_rsl.c
@@ -2899,10 +2899,6 @@ int rsl_start_t3109(struct gsm_lchan *lchan)
{
struct gsm_bts *bts = lchan->ts->trx->bts;
- /* Disabled, mostly legacy code */
- if (bts->network->T3109 == 0)
- return -1;
-
osmo_timer_setup(&lchan->T3109, t3109_expired, lchan);
osmo_timer_schedule(&lchan->T3109, bts->network->T3109, 0);
return 0;