Change in osmo-bts[master]: rsl: Fix logged value in rx MS Power Control

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/.

pespin gerrit-no-reply at lists.osmocom.org
Tue Nov 12 16:47:09 UTC 2019


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/16052 )


Change subject: rsl: Fix logged value in rx MS Power Control
......................................................................

rsl: Fix logged value in rx MS Power Control

The interesting value in this case is the incoming new ms max power.

Change-Id: Ib6fcb21b1b4bdbc8b749a1b8543d97331699ef3b
---
M src/common/rsl.c
1 file changed, 1 insertion(+), 1 deletion(-)



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

diff --git a/src/common/rsl.c b/src/common/rsl.c
index e460693..d8ce016 100644
--- a/src/common/rsl.c
+++ b/src/common/rsl.c
@@ -1638,7 +1638,7 @@
 	pwr = *TLVP_VAL(&tp, RSL_IE_MS_POWER) & 0x1F;
 	lchan->ms_power = pwr;
 
-	LOGPLCHAN(lchan, DRSL, LOGL_INFO, "Rx MS POWER CONTROL %d\n", lchan->ms_power_ctrl.current);
+	LOGPLCHAN(lchan, DRSL, LOGL_INFO, "Rx MS POWER CONTROL %" PRIu8 "\n", pwr);
 
 	/* 9.3.31 MS Power Parameters (O) */
 	if (TLVP_PRESENT(&tp, RSL_IE_MS_POWER_PARAM))

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ib6fcb21b1b4bdbc8b749a1b8543d97331699ef3b
Gerrit-Change-Number: 16052
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191112/0b5dd375/attachment.htm>


More information about the gerrit-log mailing list