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
Tue Dec 1 17:41:34 UTC 2020


fixeria has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/43/21443/1

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: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201201/854f7dff/attachment.htm>


More information about the gerrit-log mailing list