power_control: lchan_ms_pwr_ctrl(): use existing 'trx' pointer

Change-Id: Idf46e47f20f031ff9dded1be1e6c4337d7b423e7
Related: SYS#4918
This commit is contained in:
Vadim Yanitskiy 2020-11-27 15:09:14 +01:00
parent 0e24ace2f1
commit f15c44df52
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ int lchan_ms_pwr_ctrl(struct gsm_lchan *lchan,
int8_t ms_dbm, new_dbm, current_dbm, bsc_max_dbm;
int8_t avg_ul_rssi_dbm;
if (!trx_ms_pwr_ctrl_is_osmo(lchan->ts->trx))
if (!trx_ms_pwr_ctrl_is_osmo(trx))
return 0;
if (lchan->ms_power_ctrl.fixed)
return 0;