fix in sib1 memcpy size
This commit is contained in:
committed by
Robert Schmidt
parent
166aae35ab
commit
df1f4381a2
@@ -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];
|
nfapi_nr_pdu_t *tx_req = &gNB_mac->TX_req[CC_id].pdu_list[ntx_req];
|
||||||
|
|
||||||
// Data to be transmitted
|
// 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, TBS);
|
||||||
memcpy(tx_req->TLVs[0].value.direct, sib1_payload, sib1_sdu_length);
|
|
||||||
|
|
||||||
tx_req->PDU_length = TBS;
|
tx_req->PDU_length = TBS;
|
||||||
tx_req->PDU_index = pdu_index;
|
tx_req->PDU_index = pdu_index;
|
||||||
|
|||||||
Reference in New Issue
Block a user