aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/rsl.c
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-11-12 17:46:35 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2019-11-12 17:46:38 +0100
commitd93669289b019dbb2c1a674b5005f33329c2e2c2 (patch)
treeff75f1d93d6e57b1dfad1426649f060dd61d80b2 /src/common/rsl.c
parent80f2bc4855ea101e0bc95a86cf9a49ad1f1c9026 (diff)
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
Diffstat (limited to 'src/common/rsl.c')
-rw-r--r--src/common/rsl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/rsl.c b/src/common/rsl.c
index e460693c..d8ce016b 100644
--- a/src/common/rsl.c
+++ b/src/common/rsl.c
@@ -1638,7 +1638,7 @@ static int rsl_rx_ms_pwr_ctrl(struct msgb *msg)
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))