bts_trx.c: Dispatch missing NM_EV_RSL_UP/DOWN to the bb_transc object

Previous commit 7810a91733 forgot to
introduce this line, though it was planned to be there.

Most of the time it worked fine anyway because the RSL link is not the last
event bb_transc waits for before switching to Enabled, so later events
would trigger inside the bb_transc fsm a recheck (polling) which wuld
allow to advance to Enabled state.
However, in the situation where RSL link UP is the last event to happen,
no more inside-FSM checks are triggered and hence BB Transeiver never
goes to Enabled state, and as a result no event is triggered towards
each RadioChannel which in turn don't go to Enabled state.

Fixes: 7810a91733
Change-Id: I8c777b946e7abcb4b607ec4d136c981a0716b120
This commit is contained in:
Pau Espin 2020-10-21 16:03:43 +02:00
parent 6e27523d11
commit 26cc8580f6
1 changed files with 1 additions and 0 deletions

View File

@ -199,6 +199,7 @@ int trx_link_estab(struct gsm_bts_trx *trx)
link ? "up" : "down");
osmo_fsm_inst_dispatch(trx->mo.fi, link ? NM_EV_RSL_UP : NM_EV_RSL_DOWN, NULL);
osmo_fsm_inst_dispatch(trx->bb_transc.mo.fi, link ? NM_EV_RSL_UP : NM_EV_RSL_DOWN, NULL);
if (link)
rc = rsl_tx_rf_res(trx);