Incorrectly removed timeout variable in PNF

Also, putting memset back to help us locate a
bug in the handling of the def_dci_pdu_rel15
This commit is contained in:
Melissa Elkadi
2021-09-30 15:57:10 -07:00
parent 11ab8b55f0
commit a30f6791f7
2 changed files with 4 additions and 4 deletions
+3 -4
View File
@@ -3264,10 +3264,6 @@ int pnf_nr_p7_message_pump(pnf_p7_t* pnf_p7)
struct timespec pselect_start;
struct timespec timeout;
timeout.tv_sec = 0;
timeout.tv_nsec = 500000;
struct timespec slot_duration;
slot_duration.tv_sec = 0;
slot_duration.tv_nsec = 0.5e6;
@@ -3283,6 +3279,9 @@ int pnf_nr_p7_message_pump(pnf_p7_t* pnf_p7)
FD_ZERO(&rfds);
FD_SET(pnf_p7->p7_sock, &rfds);
struct timespec timeout;
timeout.tv_sec = 100;
timeout.tv_nsec = 0;
clock_gettime(CLOCK_MONOTONIC, &pselect_start);
//setting the timeout