Commit df1f4381 authored by francescomani's avatar francescomani Committed by Robert Schmidt

fix in sib1 memcpy size

parent 166aae35
......@@ -610,8 +610,7 @@ void schedule_nr_sib1(module_id_t module_idP, frame_t frameP, sub_frame_t slotP)
nfapi_nr_pdu_t *tx_req = &gNB_mac->TX_req[CC_id].pdu_list[ntx_req];
// Data to be transmitted
bzero(tx_req->TLVs[0].value.direct, sizeof(tx_req->TLVs[0].value.direct));
memcpy(tx_req->TLVs[0].value.direct, sib1_payload, sib1_sdu_length);
memcpy(tx_req->TLVs[0].value.direct, sib1_payload, TBS);
tx_req->PDU_length = TBS;
tx_req->PDU_index = pdu_index;
......
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