aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc/osmo_bsc_main.c
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2022-05-04 19:32:09 +0200
committerpespin <pespin@sysmocom.de>2022-05-06 12:34:59 +0000
commit7b36d0b0a0d87a80160f6c2398ea7bb7ff0ccd67 (patch)
tree128fbe08ada9b7a8170d6e979b26449d71c722ba /src/osmo-bsc/osmo_bsc_main.c
parent7d621e0a79e940864cc3d3d4a057ccea9aeeb64a (diff)
acc: Fix erratic ramping behavior when several BTS configured
One callback function was being registered for each BTS. That means, when a C0 RCARRIER of one specific BTS changed NM state, the outcome on whether to trigger/abort ramping would end up being applied to all BTS. Change-Id: I56c4dd1809fdcf8441a69bf77ad173e1ccc8eea7
Diffstat (limited to 'src/osmo-bsc/osmo_bsc_main.c')
-rw-r--r--src/osmo-bsc/osmo_bsc_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osmo-bsc/osmo_bsc_main.c b/src/osmo-bsc/osmo_bsc_main.c
index 12ddbd212..8d63183e8 100644
--- a/src/osmo-bsc/osmo_bsc_main.c
+++ b/src/osmo-bsc/osmo_bsc_main.c
@@ -929,6 +929,7 @@ int main(int argc, char **argv)
assignment_fsm_init();
handover_fsm_init();
lb_init();
+ acc_ramp_global_init();
/* Read the config */
rc = bsc_network_configure(config_file);