enb,ue_nr: fix warning when unpacking MAC PDU with padding

This commit is contained in:
Andre Puschmann 2021-10-28 10:45:54 +02:00
parent 5735118ea0
commit 4c7bc57b01
1 changed files with 2 additions and 0 deletions

View File

@ -134,6 +134,8 @@ int ue_nr::process_ce_subpdu(srsran::mac_sch_subpdu_nr& subpdu)
sched->ul_bsr(rnti, lb.lcg_id, buff_size_field_to_bytes(lb.buffer_size, srsran::LONG_BSR));
}
} break;
case srsran::mac_sch_subpdu_nr::nr_lcid_sch_t::PADDING:
break;
default:
logger.warning("Unhandled subPDU with LCID=%d", subpdu.get_lcid());
}