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
Implementation of function for filling k0 and k1 table [Issue-ID: ODUHIGH-341]
[o-du/l2.git]
/
src
/
5gnrsch
/
sch_slot_ind.c
diff --git
a/src/5gnrsch/sch_slot_ind.c
b/src/5gnrsch/sch_slot_ind.c
index
2b1bf57
..
4df452a
100644
(file)
--- a/
src/5gnrsch/sch_slot_ind.c
+++ b/
src/5gnrsch/sch_slot_ind.c
@@
-180,6
+180,12
@@
uint8_t schFillBoGrantDlSchedInfo(SchCellCb *cell, DlSchedInfo *dlSchedInfo, DlM
}
ueCb->dlInfo.dlLcCtxt[lcIdx].bo = 0;
}
+
+ if (!dlMsgAlloc->numLc)
+ {
+ DU_LOG("\nDEBUG --> SCH : No bo for any lcid\n");
+ return ROK;
+ }
/* pdcch and pdsch data is filled */
schDlRsrcAllocDlMsg(dlMsgAlloc, cell, crnti, &accumalatedSize, slot);