From f778c6ca8dee46c1ab43017992e6fc057fc0e710 Mon Sep 17 00:00:00 2001 From: Francisco Paisana Date: Mon, 1 Apr 2019 16:53:04 +0200 Subject: [PATCH] make mcch check --- srsenb/src/phy/phch_common.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/srsenb/src/phy/phch_common.cc b/srsenb/src/phy/phch_common.cc index 190b7ef76..e279f2ae4 100644 --- a/srsenb/src/phy/phch_common.cc +++ b/srsenb/src/phy/phch_common.cc @@ -344,6 +344,9 @@ bool phch_common::is_mch_subframe(subframe_cfg_t *cfg, uint32_t phy_tti) if (is_mcch_subframe(cfg, phy_tti)) { return true; } + if (not mcch_configured) { + return false; + } // Not MCCH, check for MCH mbsfn_sf_cfg_s* subfr_cnfg = &mbsfn.mbsfn_subfr_cnfg;