Change in osmo-bts[master]: power_control: lchan_ms_pwr_ctrl(): use existing 'trx' pointer

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

fixeria gerrit-no-reply at lists.osmocom.org
Fri Dec 4 10:25:22 UTC 2020


fixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/21443 )

Change subject: power_control: lchan_ms_pwr_ctrl(): use existing 'trx' pointer
......................................................................

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

Change-Id: Idf46e47f20f031ff9dded1be1e6c4337d7b423e7
Related: SYS#4918
---
M src/common/power_control.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved
  pespin: Looks good to me, approved



diff --git a/src/common/power_control.c b/src/common/power_control.c
index 5dbf8ce..a20ce55 100644
--- a/src/common/power_control.c
+++ b/src/common/power_control.c
@@ -108,7 +108,7 @@
 	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;

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/21443
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Idf46e47f20f031ff9dded1be1e6c4337d7b423e7
Gerrit-Change-Number: 21443
Gerrit-PatchSet: 3
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201204/fe370c37/attachment.htm>


More information about the gerrit-log mailing list