Commit f8bc7e38 authored by Navid Nikaein's avatar Navid Nikaein

fix seg fault for the eMBMS in pdcp

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7389 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 9ef95055
......@@ -688,7 +688,7 @@ pdcp_data_ind(
unsigned int dst_instance;
int ctime;
if (pdcp_p->rlc_mode == RLC_MODE_AM ) {
if ((pdcp_p->rlc_mode == RLC_MODE_AM)&&(MBMS_flagP==0) ) {
pdcp_p->last_submitted_pdcp_rx_sn = sequence_number;
}
......@@ -699,11 +699,12 @@ pdcp_data_ind(
#endif
ctime = oai_emulation.info.time_ms; // avg current simulation time in ms : we may get the exact time through OCG?
if (MBMS_flagP == 0){
LOG_D(PDCP,
PROTOCOL_PDCP_CTXT_FMT"Check received buffer : (dst %d)\n",
PROTOCOL_PDCP_CTXT_ARGS(ctxt_pP, pdcp_p),
ctxt_pP->instance);
}
if (otg_rx_pkt(
ctxt_pP->instance,
ctime,
......
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