diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-07-20 13:52:55 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-07-20 13:52:55 +0200 |
commit | 8288b1203a6631f8674f02a2964efcf22f5b26c2 (patch) | |
tree | 78b125b824149ff2393608b7fa0b55c1e353fe0b /openbsc/src/libbsc/abis_rsl.c | |
parent | ab2454e776f1a4bc4977ef48ec2844600f85176b (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/abis_rsl.c')
-rw-r--r-- | openbsc/src/libbsc/abis_rsl.c | 4 |
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; |