From db84f1b8ea735e99f2be5eb2fd3b262fc88ad8a7 Mon Sep 17 00:00:00 2001 From: Andrew Bower Date: Wed, 25 Sep 2024 11:37:01 +0100 Subject: [PATCH] SWPTP-1522: poll error queue not event fds after event send --- src/ptp/ptpd2/protocol.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ptp/ptpd2/protocol.c b/src/ptp/ptpd2/protocol.c index 1ffe764c..c58cd2ab 100644 --- a/src/ptp/ptpd2/protocol.c +++ b/src/ptp/ptpd2/protocol.c @@ -3662,7 +3662,7 @@ issueDelayReq(RunTimeOpts *rtOpts, PtpClock *ptpClock) /* Check error queue immediately before falling back to epoll. */ doHandleSockets(&ptpClock->interface->ifOpts, ptpClock->interface, - TRUE, FALSE, FALSE); + false, false, true); } } @@ -3721,7 +3721,7 @@ issuePDelayReq(RunTimeOpts *rtOpts, PtpClock *ptpClock) /* Check error queue immediately before falling back to epoll. */ doHandleSockets(&ptpClock->interface->ifOpts, ptpClock->interface, - TRUE, FALSE, FALSE); + false, false, true); } }