aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-09-09 14:02:57 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2021-09-09 14:07:45 +0200
commitcf9cfb66214c785b6ff155ccd7225ca606665058 (patch)
treed5dd831fe22ccdf5b7b8df6355cd5089fba175a7
parent5a1e12337c9aee9f0aa86099d47d711e94c8798b (diff)
lchan_fsm: Fix comment
A previous commit (Feb 05 2021) moved copy of TA value to some other place to fix some related issues, but forgot to update the comment. Fixes: b03e73f27b26449864296fdab84f6fb6e1978c45 Change-Id: Ia10038919b6650dff45b7233f58fea94e9808712
-rw-r--r--src/osmo-bsc/lchan_fsm.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/osmo-bsc/lchan_fsm.c b/src/osmo-bsc/lchan_fsm.c
index 1b59b453d..a18cba5b7 100644
--- a/src/osmo-bsc/lchan_fsm.c
+++ b/src/osmo-bsc/lchan_fsm.c
@@ -691,7 +691,7 @@ static void lchan_fsm_wait_ts_ready_onenter(struct osmo_fsm_inst *fi, uint32_t p
lchan->conn = info->for_conn;
/* If there is a previous lchan, and the new lchan is on the same cell as previous one,
- * take over power and TA values. Otherwise, use max power and zero TA. */
+ * take over power values. Otherwise, use max power. */
if (old_lchan && old_lchan->ts->trx->bts == bts) {
ms_power_dbm = ms_pwr_dbm(bts->band, old_lchan->ms_power);
lchan_update_ms_power_ctrl_level(lchan, ms_power_dbm >= 0 ? ms_power_dbm : bts->ms_max_power);
@@ -699,8 +699,7 @@ static void lchan_fsm_wait_ts_ready_onenter(struct osmo_fsm_inst *fi, uint32_t p
} else {
lchan_update_ms_power_ctrl_level(lchan, bts->ms_max_power);
/* Upon last entering the UNUSED state, from lchan_reset():
- * - bs_power_db is still zero, 0dB reduction, output power = Pn.
- * - TA is still zero, to be determined by RACH. */
+ * - bs_power_db is still zero, 0dB reduction, output power = Pn. */
/* Default BS Power reduction value (in dB) */
if (bts->bs_power_ctrl.mode == GSM_PWR_CTRL_MODE_DYN_BTS)