From 3ff2fc437884cc12633f15e51f9d4ce1053c857b Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 25 Jan 2013 16:00:20 +0100 Subject: RSL: don't store MS power in lchan->bs_power but lchan->ms_power As we currently don't use any BSC-based MS power control in either OpenBSC nor in OsmoBTS, this bug has never shown up so far. Thanks to Andreas Eversberg for spotting this. --- 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 481686ed..76f2c742 100644 --- a/src/common/rsl.c +++ b/src/common/rsl.c @@ -664,7 +664,7 @@ static int rsl_rx_chan_activ(struct msgb *msg) lchan->bs_power = *TLVP_VAL(&tp, RSL_IE_BS_POWER); /* 9.3.13 MS Power */ if (TLVP_PRESENT(&tp, RSL_IE_MS_POWER)) - lchan->bs_power = *TLVP_VAL(&tp, RSL_IE_MS_POWER); + lchan->ms_power = *TLVP_VAL(&tp, RSL_IE_MS_POWER); /* 9.3.24 Timing Advance */ if (TLVP_PRESENT(&tp, RSL_IE_TIMING_ADVANCE)) lchan->rqd_ta = *TLVP_VAL(&tp, RSL_IE_TIMING_ADVANCE); -- cgit v1.2.3