aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-07-14 23:43:09 +0200
committerHarald Welte <laforge@osmocom.org>2020-07-14 23:54:22 +0200
commit574efd99f8b4b27959d2a4b3fd45751da356029b (patch)
treef1dd4523f56a8c8fe29d9c0c033639f0dbb7114e
parent7d69baf66f39b9671186907b92140acd6b3270c5 (diff)
Bring timeslot FSMs on BS-11 out of NOT_INITIALIZED state
When we introduced the timeslot FSMs in I82e3f918295daa83274a4cf803f046979f284366, the BS-11 stopped to work, as the timeslot FSMs are never brought out of NOT_INITIALIZED stage. Closes: OS#4666 Change-Id: I557cb105247552887ca47a0f2c1b06b71bca6cac
-rw-r--r--src/osmo-bsc/bts_siemens_bs11.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/osmo-bsc/bts_siemens_bs11.c b/src/osmo-bsc/bts_siemens_bs11.c
index d0fe38b40..2750f8cbe 100644
--- a/src/osmo-bsc/bts_siemens_bs11.c
+++ b/src/osmo-bsc/bts_siemens_bs11.c
@@ -523,6 +523,11 @@ static void bootstrap_om_bs11(struct gsm_bts *bts)
/* restart sending event reports */
abis_nm_event_reports(bts, 1);
+
+ /* make the timeslot FSM happy. Siemens doesn't send us
+ * OML state changes for individual timeslots, so we
+ * bring all of them up here */
+ gsm_bts_all_ts_dispatch(bts, TS_EV_OML_READY, NULL);
}
static int shutdown_om(struct gsm_bts *bts)