aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/common/power_control.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/common/power_control.c b/src/common/power_control.c
index b1728705..f467cd53 100644
--- a/src/common/power_control.c
+++ b/src/common/power_control.c
@@ -79,6 +79,13 @@ int lchan_ms_pwr_ctrl(struct gsm_lchan *lchan,
}
new_pwr = ms_pwr_ctl_lvl(band, new_dBm);
+
+ /* Don't ask for smaller ms power level than the one set
+ * by BSC upon RSL CHAN ACT
+ */
+ if (new_pwr < lchan->ms_power)
+ new_pwr = lchan->ms_power;
+
if (lchan->ms_power_ctrl.current != new_pwr) {
lchan->ms_power_ctrl.current = new_pwr;
bts_model_adjst_ms_pwr(lchan);