laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/32071 )
Change subject: timeslot_fsm: Avoid error messages about TS_EV_OML_READY not permitted ......................................................................
timeslot_fsm: Avoid error messages about TS_EV_OML_READY not permitted
Change-Id: Idd1f541d66abbf2a1d136df42a6fe277eeb9482d Related: OS#5973 --- M src/osmo-bsc/timeslot_fsm.c 1 file changed, 16 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/71/32071/1
diff --git a/src/osmo-bsc/timeslot_fsm.c b/src/osmo-bsc/timeslot_fsm.c index c7f6130..feb56a5 100644 --- a/src/osmo-bsc/timeslot_fsm.c +++ b/src/osmo-bsc/timeslot_fsm.c @@ -377,6 +377,11 @@ struct gsm_bts_trx_ts *ts = ts_fi_ts(fi);
switch (event) { + case TS_EV_OML_READY: + /* ignore. This happens during nanoBTS bring-up, when we get a bunch of state changed + * reports after RSL has come up. This triggers us to send OPSTART (again!) for each TS, + * which in turn means that we get an OPSTART_ACK which gets translated to OML_READY event. */ + break;
case TS_EV_LCHAN_REQUESTED: { @@ -878,6 +883,7 @@ .onenter = ts_fsm_unused_onenter, .action = ts_fsm_unused, .in_event_mask = 0 + | S(TS_EV_OML_READY) | S(TS_EV_LCHAN_REQUESTED) | S(TS_EV_LCHAN_UNUSED) ,