Commit 1d23a64c authored by Robert Schmidt's avatar Robert Schmidt

bugfix: memset using the right size

parent 8f2d7970
...@@ -1259,7 +1259,7 @@ dlsch_scheduler_pre_processor(module_id_t Mod_id, ...@@ -1259,7 +1259,7 @@ dlsch_scheduler_pre_processor(module_id_t Mod_id,
#endif #endif
// Initialize scheduling information for all active UEs // Initialize scheduling information for all active UEs
memset(&sli->pre_processor_results[slice_idx], 0, sizeof(sli->pre_processor_results)); memset(&sli->pre_processor_results[slice_idx], 0, sizeof(sli->pre_processor_results[slice_idx]));
// FIXME: After the memset above, some of the resets in reset() are redundant // FIXME: After the memset above, some of the resets in reset() are redundant
dlsch_scheduler_pre_processor_reset(Mod_id, slice_idx, frameP, subframeP, dlsch_scheduler_pre_processor_reset(Mod_id, slice_idx, frameP, subframeP,
min_rb_unit, min_rb_unit,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment