From d93669289b019dbb2c1a674b5005f33329c2e2c2 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Tue, 12 Nov 2019 17:46:35 +0100 Subject: 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 --- src/common/rsl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/rsl.c') 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)) -- cgit v1.2.3