diff --git a/openair2/UTIL/OTG/otg_tx.c b/openair2/UTIL/OTG/otg_tx.c index dbec0d1ae9..4621bdca0f 100644 --- a/openair2/UTIL/OTG/otg_tx.c +++ b/openair2/UTIL/OTG/otg_tx.c @@ -314,8 +314,7 @@ unsigned char *packet_gen_multicast(int src, int dst, int ctime, unsigned int * for (app=0; app<1; app++){ if ( (g_otg_multicast->idt_dist[src][dst][app]> 0) && - ((ctime - otg_multicast_info->ptime[src][dst][app]) >= otg_multicast_info->idt[src][dst][app]) && - (g_otg_multicast->duration[src][dst][app] > ctime) ){ + ((ctime - otg_multicast_info->ptime[src][dst][app]) >= otg_multicast_info->idt[src][dst][app]) ){ //Duy add LOG_I(OTG,"multicast gen: entering generating\n");