From cf9cfb66214c785b6ff155ccd7225ca606665058 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Thu, 9 Sep 2021 14:02:57 +0200 Subject: 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 --- src/osmo-bsc/lchan_fsm.c | 5 ++--- 1 file 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) -- cgit v1.2.3