[libbsd 3/9] wpa: Use CONFIG_ELOOP_KQUEUE

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Jun 10 06:08:29 UTC 2022


This avoids issues with the fd_set size.
---
 freebsd/contrib/wpa/src/utils/eloop.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/freebsd/contrib/wpa/src/utils/eloop.c b/freebsd/contrib/wpa/src/utils/eloop.c
index b26de5a0..09493b89 100644
--- a/freebsd/contrib/wpa/src/utils/eloop.c
+++ b/freebsd/contrib/wpa/src/utils/eloop.c
@@ -16,6 +16,9 @@
 #include "list.h"
 #include "eloop.h"
 
+#ifdef __rtems__
+#define CONFIG_ELOOP_KQUEUE
+#endif /* __rtems__ */
 #if defined(CONFIG_ELOOP_POLL) && defined(CONFIG_ELOOP_EPOLL)
 #error Do not define both of poll and epoll
 #endif
-- 
2.35.3



More information about the devel mailing list