From: Felix Fietkau Date: Mon, 13 Nov 2006 18:52:03 +0000 (+0000) Subject: massively decrease the wlcompat entropy polling frequency - hurts performance and... X-Git-Tag: whiterussian_0.9~82 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c23b42f7c650afb5bc9a1b80dd4c707fc30322fb;p=openwrt%2Fsvn-archive%2Fopenwrt.git massively decrease the wlcompat entropy polling frequency - hurts performance and we really don't need that much entropy SVN-Revision: 5522 --- diff --git a/openwrt/target/linux/package/wlcompat/wlcompat.c b/openwrt/target/linux/package/wlcompat/wlcompat.c index b9062ecdc9..6946a7a3b9 100644 --- a/openwrt/target/linux/package/wlcompat/wlcompat.c +++ b/openwrt/target/linux/package/wlcompat/wlcompat.c @@ -52,7 +52,7 @@ const long channel_frequency[] = { #define NUM_CHANNELS ( sizeof(channel_frequency) / sizeof(channel_frequency[0]) ) #define SCAN_RETRY_MAX 5 -#define RNG_POLL_FREQ 20 +#define RNG_POLL_FREQ 2 typedef struct internal_wsec_key { uint8 index; // 0x00