aboutsummaryrefslogtreecommitdiffstats
path: root/src/libbsc/acc_ramp.c
diff options
context:
space:
mode:
authorStefan Sperling <ssperling@sysmocom.de>2018-04-09 17:02:41 +0200
committerHarald Welte <laforge@gnumonks.org>2018-04-09 17:38:56 +0000
commitc0587d0da26ab1ab5bab91219f663ae433e55b59 (patch)
tree35ef036902837652c9aa183991782d0cd322a915 /src/libbsc/acc_ramp.c
parent5b6aa650f1a6df22ec99797bd3635ea791998a88 (diff)
fix initialization of acc ramping
Remove a redundant call to acc_ramp_init() during bootstrap_bts(). ACC ramping state is already initialized during VTY config parsing, and bootstrap_bts() accidentally disabled ACC ramping again even if it was enabled in the configuration. This bug was introduced in last-minute refactoring during review of https://gerrit.osmocom.org/#/c/6324/ when the acc_ramping_enabled flag was moved from struct gsm_bts to the acc_ramp structure itself. Also remove an acc_ramp_init() call in bootstrap_rsl(). It is no longer needed as it serves no purpose other than initializing the bitmasks of barred ACCs. To ensure that ACC ramping configuration provided to the BTS via system information stays correct, we move the call to acc_ramp_start(), which has the same effect on barred ACCs, further up. Change-Id: Ib7d99c9d3d5d424e21bb7710f719c42f9aef3e95 Fixes: 6442e4327b1100ecfed7a242e397ac37b7529bea Related: OS#2591
Diffstat (limited to 'src/libbsc/acc_ramp.c')
0 files changed, 0 insertions, 0 deletions