diff options
author | Harald Welte <laforge@gnumonks.org> | 2013-01-25 16:00:20 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2013-01-25 16:00:20 +0100 |
commit | 3ff2fc437884cc12633f15e51f9d4ce1053c857b (patch) | |
tree | 975a7981fa27b64b47cbe653fbf4034ce833930c /src | |
parent | bcd50d32195f0a73b95b6f21cdc58a548e4d6bdb (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/common/rsl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |