diff --git a/lib/examples/pdsch_enodeb.c b/lib/examples/pdsch_enodeb.c index 7b6320a66..e95369ebd 100644 --- a/lib/examples/pdsch_enodeb.c +++ b/lib/examples/pdsch_enodeb.c @@ -679,8 +679,7 @@ static void* net_thread_fnc(void* arg) ERROR("Error receiving from network\n"); exit(-1); } - } while (n >= 0); - return NULL; + } while (true); } int main(int argc, char** argv)