aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2023-04-05 17:39:39 +0200
committerpespin <pespin@sysmocom.de>2023-04-11 08:11:43 +0000
commit3481dd40b319cbde23606c4636884e5a14968317 (patch)
treed8b68c718d30bc31b2eadef164e29250433c6374
parent66543fe42263b6160ae7bbbef2c8e991c648ab72 (diff)
nm: Dispatch NM_EV_SW_ACT in cascade to BTS SiteMgr children
-rw-r--r--src/common/bts.c2
-rw-r--r--src/common/nm_bts_sm_fsm.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/common/bts.c b/src/common/bts.c
index 9c48a1d0..37a30230 100644
--- a/src/common/bts.c
+++ b/src/common/bts.c
@@ -457,8 +457,6 @@ int bts_link_estab(struct gsm_bts *bts)
/* BTS SITE MGR becomes Offline (tx SW ACT Report), BTS, NSE, etc. is DEPENDENCY */
osmo_fsm_inst_dispatch(bts->site_mgr.mo.fi, NM_EV_SW_ACT, NULL);
- osmo_fsm_inst_dispatch(bts->mo.fi, NM_EV_SW_ACT, NULL);
- osmo_fsm_inst_dispatch(bts->gprs.nse.mo.fi, NM_EV_SW_ACT, NULL);
/* All other objects start off-line until the BTS Model code says otherwise */
for (i = 0; i < bts->num_trx; i++) {
diff --git a/src/common/nm_bts_sm_fsm.c b/src/common/nm_bts_sm_fsm.c
index f775265e..8752a902 100644
--- a/src/common/nm_bts_sm_fsm.c
+++ b/src/common/nm_bts_sm_fsm.c
@@ -69,6 +69,7 @@ static void st_op_disabled_notinstalled(struct osmo_fsm_inst *fi, uint32_t event
case NM_EV_SW_ACT:
oml_mo_tx_sw_act_rep(&site_mgr->mo);
nm_bts_sm_fsm_state_chg(fi, NM_BTS_SM_ST_OP_DISABLED_OFFLINE);
+ ev_dispatch_children(site_mgr, event);
return;
default:
OSMO_ASSERT(0);