aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-09-30 15:55:28 +0200
committerpespin <pespin@sysmocom.de>2019-10-05 20:50:13 +0000
commit9e1f0e1a13678a1a31e681ce0995df95d1e2ea32 (patch)
tree1e88df907de83fc6263f78e7c9fbaf1ba6bec290
parent96cb0c54a97c398512e74d3fd4d14582e3ffb7e4 (diff)
bts-trx: Don't reset transceiver_available in scheduler_trx.c
It can be dropped since bts_shutdown() ends up calling immediatelly bts_model_trx_close() which in turn calls bts_model_trx_close() which sets enabled = false and calls l1if_provision_transceiver_trx() to power off the TRX. Related: OS#4215 Change-Id: If8b3d2379d7ae102e1c338f4558ac1352de761cc
-rw-r--r--src/osmo-bts-trx/scheduler_trx.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/osmo-bts-trx/scheduler_trx.c b/src/osmo-bts-trx/scheduler_trx.c
index ac34a112..b3b656ac 100644
--- a/src/osmo-bts-trx/scheduler_trx.c
+++ b/src/osmo-bts-trx/scheduler_trx.c
@@ -1678,10 +1678,7 @@ static int trx_fn_timer_cb(struct osmo_fd *ofd, unsigned int what)
no_clock:
osmo_timerfd_disable(&tcs->fn_timer_ofd);
- transceiver_available = 0;
-
bts_shutdown(bts, "No clock from osmo-trx");
-
return -1;
}