Handle NULL return of pullTpool()

This commit is contained in:
Robert Schmidt
2022-08-16 14:41:02 +02:00
parent 178e2773ed
commit d73e1a4133
9 changed files with 30 additions and 2 deletions
+2
View File
@@ -1252,6 +1252,8 @@ void *ru_thread( void *param ) {
// At this point, all information for subframe has been received on FH interface
res = pullTpool(&gNB->resp_L1, &gNB->threadPool);
if (res == NULL)
break; // Tpool has been stopped
syncMsg = (processingData_L1_t *)NotifiedFifoData(res);
syncMsg->gNB = gNB;
syncMsg->frame_rx = proc->frame_rx;