bsc_ctrl: do not overwrite rc in bsc_base_ctrl_cmds_install()

Change-Id: Ie4242be1d3e58d7e37938d9ccbeffcb2b442632f
This commit is contained in:
Vadim Yanitskiy 2024-02-03 04:18:11 +07:00
parent 3c92391c9d
commit 08042c3b8a
1 changed files with 1 additions and 1 deletions

View File

@ -838,7 +838,7 @@ static int bsc_base_ctrl_cmds_install(struct gsm_network *net)
rc |= ctrl_cmd_install(CTRL_NODE_ROOT, &cmd_net_notification);
rc |= ctrl_cmd_install(CTRL_NODE_ROOT, &cmd_net_inform_msc);
rc = ctrl_cmd_install(CTRL_NODE_MSC, &cmd_msc_connection_status);
rc |= ctrl_cmd_install(CTRL_NODE_MSC, &cmd_msc_connection_status);
rc |= osmo_signal_register_handler(SS_L_INPUT, &bts_connection_status_trap_cb, net);
rc |= osmo_signal_register_handler(SS_MSC, &msc_connection_status_trap_cb, net);