nm: Dispatch NM_EV_SW_ACT in cascade to BTS SiteMgr children

Change-Id: I97445812bb1b6de450411aceaeece2427027ae67
Related: OS#5994
This commit is contained in:
Pau Espin 2023-04-05 17:39:39 +02:00 committed by pespin
parent 66543fe422
commit 3481dd40b3
2 changed files with 1 additions and 2 deletions

View File

@ -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++) {

View File

@ -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);