diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-07-20 13:52:55 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2017-08-27 03:52:46 +0200 |
commit | f4f6772e3bb75abd2b7e9fd601a728a05d9f710f (patch) | |
tree | f095bfc7f6b9f61f2753aa3150f0715cf385ef15 /src/libbsc/abis_rsl.c | |
parent | bb871000921ccc9633088006a188918d325ea30d (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 'src/libbsc/abis_rsl.c')
-rw-r--r-- | src/libbsc/abis_rsl.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libbsc/abis_rsl.c b/src/libbsc/abis_rsl.c index 9e36f7926..3337b90ac 100644 --- a/src/libbsc/abis_rsl.c +++ b/src/libbsc/abis_rsl.c @@ -2910,10 +2910,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; |