fix seg fault for the eMBMS in pdcp
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7389 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -688,7 +688,7 @@ pdcp_data_ind(
|
|||||||
unsigned int dst_instance;
|
unsigned int dst_instance;
|
||||||
int ctime;
|
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;
|
pdcp_p->last_submitted_pdcp_rx_sn = sequence_number;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -699,11 +699,12 @@ pdcp_data_ind(
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
ctime = oai_emulation.info.time_ms; // avg current simulation time in ms : we may get the exact time through OCG?
|
ctime = oai_emulation.info.time_ms; // avg current simulation time in ms : we may get the exact time through OCG?
|
||||||
LOG_D(PDCP,
|
if (MBMS_flagP == 0){
|
||||||
PROTOCOL_PDCP_CTXT_FMT"Check received buffer : (dst %d)\n",
|
LOG_D(PDCP,
|
||||||
PROTOCOL_PDCP_CTXT_ARGS(ctxt_pP, pdcp_p),
|
PROTOCOL_PDCP_CTXT_FMT"Check received buffer : (dst %d)\n",
|
||||||
ctxt_pP->instance);
|
PROTOCOL_PDCP_CTXT_ARGS(ctxt_pP, pdcp_p),
|
||||||
|
ctxt_pP->instance);
|
||||||
|
}
|
||||||
if (otg_rx_pkt(
|
if (otg_rx_pkt(
|
||||||
ctxt_pP->instance,
|
ctxt_pP->instance,
|
||||||
ctime,
|
ctime,
|
||||||
|
|||||||
Reference in New Issue
Block a user