mac_nr: set logger slot context in get_dl_sched()

master
Andre Puschmann 3 years ago
parent f20e131083
commit a80fdc0703

@ -253,6 +253,8 @@ int mac_nr::slot_indication(const srsran_slot_cfg_t& slot_cfg)
int mac_nr::get_dl_sched(const srsran_slot_cfg_t& slot_cfg, dl_sched_t& dl_sched) int mac_nr::get_dl_sched(const srsran_slot_cfg_t& slot_cfg, dl_sched_t& dl_sched)
{ {
logger.set_context(slot_cfg.idx);
if (not pdsch_slot.valid()) { if (not pdsch_slot.valid()) {
pdsch_slot = srsran::slot_point{NUMEROLOGY_IDX, slot_cfg.idx}; pdsch_slot = srsran::slot_point{NUMEROLOGY_IDX, slot_cfg.idx};
} else { } else {

Loading…
Cancel
Save