[rtems-libbsd commit] wpa: Use CONFIG_ELOOP_KQUEUE
Sebastian Huber
sebh at rtems.org
Wed Jun 22 15:18:50 UTC 2022
Module: rtems-libbsd
Branch: 6-freebsd-12
Commit: 204790a525f5ad225683d0df342553cf38f61417
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=204790a525f5ad225683d0df342553cf38f61417
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Jun 10 08:04:12 2022 +0200
wpa: Use CONFIG_ELOOP_KQUEUE
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
More information about the vc
mailing list