Commit ed5d29d4 authored by matzakos's avatar matzakos

Minor correction

parent 8bb9bb41
...@@ -794,7 +794,7 @@ pdcp_data_ind( ...@@ -794,7 +794,7 @@ pdcp_data_ind(
//TTN (29/05/18) should check value of INST since 0 is for OIP0 (UE-UE), 1 is for OIP1 (UE-eNB) [even with S1 mode] //TTN (29/05/18) should check value of INST since 0 is for OIP0 (UE-UE), 1 is for OIP1 (UE-eNB) [even with S1 mode]
//for the moment, based on rb_id, we distinguish between the traffic from eNB and from other UE //for the moment, based on rb_id, we distinguish between the traffic from eNB and from other UE
//if traffic from other UE //if traffic from other UE
if ( ((pdcp_data_ind_header_t*) new_sdu_p->data)->rb_id > 4 ) { if ( ((pdcp_data_ind_header_t*) new_sdu_p->data)->rb_id >= 4 ) {
((pdcp_data_ind_header_t*) new_sdu_p->data)->inst = 0; ((pdcp_data_ind_header_t*) new_sdu_p->data)->inst = 0;
} else } else
#endif #endif
......
...@@ -176,7 +176,7 @@ int pdcp_fifo_flush_sdus(const protocol_ctxt_t* const ctxt_pP) ...@@ -176,7 +176,7 @@ int pdcp_fifo_flush_sdus(const protocol_ctxt_t* const ctxt_pP)
//for the moment, based on rb_id, we distinguish between the traffic from eNB and from other UE //for the moment, based on rb_id, we distinguish between the traffic from eNB and from other UE
//traffic from other UE //traffic from other UE
if ( ((pdcp_data_ind_header_t *)(sdu_p->data))->rb_id > 4) { if ( ((pdcp_data_ind_header_t *)(sdu_p->data))->rb_id >= 4) {
((pdcp_data_ind_header_t *)(sdu_p->data))->inst = 0; ((pdcp_data_ind_header_t *)(sdu_p->data))->inst = 0;
} else } else
#endif #endif
......
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