bugfix: call nr_rlc_get_available_tx_space() with lcid, not rb id

This commit is contained in:
Cedric Roux
2022-11-09 15:42:50 +01:00
committed by Raymond Knopp
parent d4356efc70
commit d2f456e089
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -3456,7 +3456,7 @@ static void rrc_DU_process_ue_context_modification_request(MessageDef *msg_p, co
LOG_I(NR_RRC, "Send first DDD buffer status reporting towards the CU through an ITTI message to gtp-u \n");
uint8_t drb_id = ue_context_p->ue_context.DRB_configList->list.array[0]->drb_Identity;
rnti_t rnti = ue_context_p->ue_context.rnti;
int rlc_tx_buffer_space = nr_rlc_get_available_tx_space(rnti, drb_id);
int rlc_tx_buffer_space = nr_rlc_get_available_tx_space(rnti, drb_id + 3);
LOG_I(NR_RRC, "Reported in DDD drb_id:%d, rnti:%d\n", drb_id, rnti);
MessageDef *msg = itti_alloc_new_message_sized(TASK_RRC_GNB, 0, GTPV1U_DU_BUFFER_REPORT_REQ,
sizeof(gtpv1u_gnb_tunnel_data_req_t));