mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-03 22:44:27 -05:00 
			
		
		
		
	hostapd: enable the epoll-based event loop
Hostapd supports epoll() since 2014. Let's enable it for better performance. Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
This commit is contained in:
		
							parent
							
								
									97ac290090
								
							
						
					
					
						commit
						dd4e6a70f2
					
				@ -7,7 +7,7 @@
 | 
			
		||||
include $(TOPDIR)/rules.mk
 | 
			
		||||
 | 
			
		||||
PKG_NAME:=hostapd
 | 
			
		||||
PKG_RELEASE:=16
 | 
			
		||||
PKG_RELEASE:=17
 | 
			
		||||
 | 
			
		||||
PKG_SOURCE_URL:=http://w1.fi/hostap.git
 | 
			
		||||
PKG_SOURCE_PROTO:=git
 | 
			
		||||
 | 
			
		||||
@ -268,7 +268,7 @@ CONFIG_GETRANDOM=y
 | 
			
		||||
#CONFIG_ELOOP_POLL=y
 | 
			
		||||
 | 
			
		||||
# Should we use epoll instead of select? Select is used by default.
 | 
			
		||||
#CONFIG_ELOOP_EPOLL=y
 | 
			
		||||
CONFIG_ELOOP_EPOLL=y
 | 
			
		||||
 | 
			
		||||
# Should we use kqueue instead of select? Select is used by default.
 | 
			
		||||
#CONFIG_ELOOP_KQUEUE=y
 | 
			
		||||
 | 
			
		||||
@ -268,7 +268,7 @@ CONFIG_GETRANDOM=y
 | 
			
		||||
#CONFIG_ELOOP_POLL=y
 | 
			
		||||
 | 
			
		||||
# Should we use epoll instead of select? Select is used by default.
 | 
			
		||||
#CONFIG_ELOOP_EPOLL=y
 | 
			
		||||
CONFIG_ELOOP_EPOLL=y
 | 
			
		||||
 | 
			
		||||
# Should we use kqueue instead of select? Select is used by default.
 | 
			
		||||
#CONFIG_ELOOP_KQUEUE=y
 | 
			
		||||
 | 
			
		||||
@ -268,7 +268,7 @@ CONFIG_GETRANDOM=y
 | 
			
		||||
#CONFIG_ELOOP_POLL=y
 | 
			
		||||
 | 
			
		||||
# Should we use epoll instead of select? Select is used by default.
 | 
			
		||||
#CONFIG_ELOOP_EPOLL=y
 | 
			
		||||
CONFIG_ELOOP_EPOLL=y
 | 
			
		||||
 | 
			
		||||
# Should we use kqueue instead of select? Select is used by default.
 | 
			
		||||
#CONFIG_ELOOP_KQUEUE=y
 | 
			
		||||
 | 
			
		||||
@ -290,7 +290,7 @@ CONFIG_NO_CONFIG_WRITE=y
 | 
			
		||||
#CONFIG_ELOOP_POLL=y
 | 
			
		||||
 | 
			
		||||
# Should we use epoll instead of select? Select is used by default.
 | 
			
		||||
#CONFIG_ELOOP_EPOLL=y
 | 
			
		||||
CONFIG_ELOOP_EPOLL=y
 | 
			
		||||
 | 
			
		||||
# Should we use kqueue instead of select? Select is used by default.
 | 
			
		||||
#CONFIG_ELOOP_KQUEUE=y
 | 
			
		||||
 | 
			
		||||
@ -290,7 +290,7 @@ CONFIG_BACKEND=file
 | 
			
		||||
#CONFIG_ELOOP_POLL=y
 | 
			
		||||
 | 
			
		||||
# Should we use epoll instead of select? Select is used by default.
 | 
			
		||||
#CONFIG_ELOOP_EPOLL=y
 | 
			
		||||
CONFIG_ELOOP_EPOLL=y
 | 
			
		||||
 | 
			
		||||
# Should we use kqueue instead of select? Select is used by default.
 | 
			
		||||
#CONFIG_ELOOP_KQUEUE=y
 | 
			
		||||
 | 
			
		||||
@ -290,7 +290,7 @@ CONFIG_NO_CONFIG_WRITE=y
 | 
			
		||||
#CONFIG_ELOOP_POLL=y
 | 
			
		||||
 | 
			
		||||
# Should we use epoll instead of select? Select is used by default.
 | 
			
		||||
#CONFIG_ELOOP_EPOLL=y
 | 
			
		||||
CONFIG_ELOOP_EPOLL=y
 | 
			
		||||
 | 
			
		||||
# Should we use kqueue instead of select? Select is used by default.
 | 
			
		||||
#CONFIG_ELOOP_KQUEUE=y
 | 
			
		||||
 | 
			
		||||
@ -290,7 +290,7 @@ CONFIG_BACKEND=file
 | 
			
		||||
#CONFIG_ELOOP_POLL=y
 | 
			
		||||
 | 
			
		||||
# Should we use epoll instead of select? Select is used by default.
 | 
			
		||||
#CONFIG_ELOOP_EPOLL=y
 | 
			
		||||
CONFIG_ELOOP_EPOLL=y
 | 
			
		||||
 | 
			
		||||
# Should we use kqueue instead of select? Select is used by default.
 | 
			
		||||
#CONFIG_ELOOP_KQUEUE=y
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user