From a80fdc0703981e5967b19da9a9547f9370657141 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Mon, 30 Aug 2021 18:03:30 +0200 Subject: [PATCH] mac_nr: set logger slot context in get_dl_sched() --- srsenb/src/stack/mac/nr/mac_nr.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/srsenb/src/stack/mac/nr/mac_nr.cc b/srsenb/src/stack/mac/nr/mac_nr.cc index eb314cd25..5320bf9da 100644 --- a/srsenb/src/stack/mac/nr/mac_nr.cc +++ b/srsenb/src/stack/mac/nr/mac_nr.cc @@ -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) { + logger.set_context(slot_cfg.idx); + if (not pdsch_slot.valid()) { pdsch_slot = srsran::slot_point{NUMEROLOGY_IDX, slot_cfg.idx}; } else {