X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrsch%2Fsch_rach.c;h=2e0527c7cde746597d83be27a224f4efa9a91f46;hb=6178d5e32f0c57e198de80afc23b92c635e4f6df;hp=199f6af8c74ff2738dc116172f6089533f1c89f8;hpb=e6391c742645c17e4494d52f94fdeb66cfc99d1e;p=o-du%2Fl2.git diff --git a/src/5gnrsch/sch_rach.c b/src/5gnrsch/sch_rach.c index 199f6af8c..2e0527c7c 100644 --- a/src/5gnrsch/sch_rach.c +++ b/src/5gnrsch/sch_rach.c @@ -148,6 +148,12 @@ void schPrachResAlloc(SchCellCb *cell, UlSchedInfo *ulSchedInfo, SlotTimingInfo uint8_t dataType = 0; uint16_t freqStart = 0; + if(cell == NULLP) + { + DU_LOG("\nERROR --> SCH : schPrachResAlloc(): Received cellCb is null"); + return; + } + /* If this slot is not a PRACH occassion, return */ if(!schCheckPrachOcc(cell, prachOccasionTimingInfo)) return;