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
[Epic-ID: ODUHIGH-406][Task-ID: ODUHIGH-423]Fix for incorrect access of schCb instance
[o-du/l2.git]
/
src
/
5gnrmac
/
mac_cfg_hdl.c
diff --git
a/src/5gnrmac/mac_cfg_hdl.c
b/src/5gnrmac/mac_cfg_hdl.c
index
6205e5b
..
e46308e
100644
(file)
--- a/
src/5gnrmac/mac_cfg_hdl.c
+++ b/
src/5gnrmac/mac_cfg_hdl.c
@@
-94,9
+94,12
@@
MacDuSliceReCfgRspFunc macDuSliceReCfgRspOpts[] =
**/
uint8_t MacSchGenCfgReq(Pst *pst, RgMngmt *cfg)
{
**/
uint8_t MacSchGenCfgReq(Pst *pst, RgMngmt *cfg)
{
+ Pst schPst;
+
printf("\nReceived Scheduler gen config at MAC");
printf("\nReceived Scheduler gen config at MAC");
- pst->dstInst = DEFAULT_CELLS + 1;
- SchProcGenCfgReq(pst, cfg);
+ memset(&schPst, 0, sizeof(Pst));
+ FILL_PST_MAC_TO_SCH(schPst, EVENT_SCH_GEN_CFG);
+ SchProcGenCfgReq(&schPst, cfg);
return ROK;
}
return ROK;
}