From 9f53838c5832154a76a3f0dc6f9299f678bb7b5a Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 2 Jan 2022 15:12:12 +0100 Subject: [PATCH] om2000: Don't print "should not generate any message" on CAL_TIME_REQ Change-Id: Ic6f576250d56707cf325886d70209a3744163d79 Closes: OS#4670 --- src/osmo-bsc/abis_om2000.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/osmo-bsc/abis_om2000.c b/src/osmo-bsc/abis_om2000.c index 16320fc07..4523555be 100644 --- a/src/osmo-bsc/abis_om2000.c +++ b/src/osmo-bsc/abis_om2000.c @@ -2965,7 +2965,8 @@ int abis_om2k_rcvmsg(struct msgb *msg) switch (msg_type) { case OM2K_MSGT_CAL_TIME_REQ: rc = abis_om2k_cal_time_resp(bts); - break; + /* we receive this from MOs without FSM (https://osmocom.org/issues/4670) */ + goto no_mo; case OM2K_MSGT_FAULT_REP: display_fault_maps(msg->l2h, msgb_l2len(msg), &o2h->mo); rc = abis_om2k_tx_simple(bts, &o2h->mo, OM2K_MSGT_FAULT_REP_ACK);