diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-10-21 16:03:43 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-10-21 16:03:47 +0200 |
commit | 26cc8580f605bb9f1fb9a317d2d3e9da6284ce29 (patch) | |
tree | 9687b5492b9f05958b27b9ddfacb839a7d8bd514 | |
parent | 6e27523d11f7447804d747278ee8a2327cdc69a1 (diff) |
bts_trx.c: Dispatch missing NM_EV_RSL_UP/DOWN to the bb_transc object
Previous commit 7810a917331b33b6cfab5259b5fb2df73b27b230 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: 7810a917331b33b6cfab5259b5fb2df73b27b230
Change-Id: I8c777b946e7abcb4b607ec4d136c981a0716b120
-rw-r--r-- | src/common/bts_trx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/bts_trx.c b/src/common/bts_trx.c index 6bb18a34..38fb90a2 100644 --- a/src/common/bts_trx.c +++ b/src/common/bts_trx.c @@ -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); |