Commit 5c052b11 authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen

minor fix for PC5U

parent 29f3b312
......@@ -844,6 +844,8 @@ void ue_send_sl_sdu(module_id_t module_idP,
//Test
i=0;
sl_reset_rlc_flag_t reset_flag = SL_RESET_RLC_FLAG_YES;
if (longh->LCID < MAX_NUM_LCID_DATA) reset_flag = SL_RESET_RLC_FLAG_NO;
for (i = MAX_NUM_LCID_DATA; i < MAX_NUM_LCID; i++){
//PC5-S (default RX)
if ((UE_mac_inst[module_idP].sl_info[i].destinationL2Id == sourceL2Id) && (longh->LCID >= MAX_NUM_LCID_DATA)) {
......@@ -852,7 +854,9 @@ void ue_send_sl_sdu(module_id_t module_idP,
}
}
if (reset_flag == SL_RESET_RLC_FLAG_YES){
LOG_I(MAC, "SL_RESET_RLC_FLAG_YES");
LOG_I(MAC, "SL_RESET_RLC_FLAG_YES\n");
} else {
LOG_I(MAC, "SL_RESET_RLC_FLAG_NO\n");
}
mac_rlc_data_ind(
......
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