Fix tPool calls: symmetric to pushing messages

Messages are pushed using pushNotifiedFIFO(), so we pullNotifiedFIFO()
This commit is contained in:
Laurent THOMAS
2023-10-27 13:02:24 +02:00
committed by Robert Schmidt
parent 9a57514bf9
commit b257734c6f
3 changed files with 8 additions and 10 deletions
+1 -1
View File
@@ -1112,7 +1112,7 @@ notifiedFIFO_elt_t *l1tx_message_extract(PHY_VARS_gNB *gNB, int frame, int slot)
notifiedFIFO_elt_t *res;
//TODO: This needs to be reworked for nfapi to work
res = pullTpool(&gNB->L1_tx_free, &gNB->threadPool);
res = pullNotifiedFIFO(&gNB->L1_tx_free);
return res;
}