From 125e0aa186be9721d3f10d13d9a41d5b11c5521d Mon Sep 17 00:00:00 2001 From: Melissa Elkadi Date: Wed, 24 Feb 2021 07:07:45 -0800 Subject: [PATCH] Updating incorrect logic in phy_stub_ue.c --- openair2/PHY_INTERFACE/phy_stub_UE.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/openair2/PHY_INTERFACE/phy_stub_UE.c b/openair2/PHY_INTERFACE/phy_stub_UE.c index d08e1ae26e..97b3c32ca7 100644 --- a/openair2/PHY_INTERFACE/phy_stub_UE.c +++ b/openair2/PHY_INTERFACE/phy_stub_UE.c @@ -1325,11 +1325,7 @@ void *ue_standalone_pnf_task(void *context) abort(); } uint16_t sf = ch_info.sfn_sf & 15; - if (sf > 10 && sf < 0) - { - LOG_E(MAC, "sf out of bounds, sfn: %d\n", sf); - abort(); - } + assert(sf < 10); } else {