Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Cell and Network slicing configuration over o1.
[o-du/l2.git]
/
src
/
5gnrsch
/
sch_rach.c
diff --git
a/src/5gnrsch/sch_rach.c
b/src/5gnrsch/sch_rach.c
index
199f6af
..
2e0527c
100644
(file)
--- 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;
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;
/* If this slot is not a PRACH occassion, return */
if(!schCheckPrachOcc(cell, prachOccasionTimingInfo))
return;