Commit 061fd39f authored by Robert Schmidt's avatar Robert Schmidt

L1_rx_thread(): leave if thread-pool returns NULL

parent bd949806
......@@ -154,6 +154,8 @@ void *L1_rx_thread(void *arg)
while (oai_exit == 0) {
notifiedFIFO_elt_t *res = pullNotifiedFIFO(&gNB->resp_L1);
if (res == NULL)
break;
processingData_L1_t *info = (processingData_L1_t *)NotifiedFifoData(res);
rx_func(info);
delNotifiedFIFO_elt(res);
......
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