aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-11-13 18:52:03 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-11-13 18:52:03 +0000
commitae8ebcb9792d9ee69eff4ab5bb1ebffa90bccd65 (patch)
tree1f67b89f7e5ce6d1fcdb886f491dfd24feecfee8
parentff7e84d401a4d17f57c2bace76d8725d4a762218 (diff)
downloadupstream-ae8ebcb9792d9ee69eff4ab5bb1ebffa90bccd65.tar.gz
upstream-ae8ebcb9792d9ee69eff4ab5bb1ebffa90bccd65.tar.bz2
upstream-ae8ebcb9792d9ee69eff4ab5bb1ebffa90bccd65.zip
massively decrease the wlcompat entropy polling frequency - hurts performance and we really don't need that much entropy
SVN-Revision: 5522
-rw-r--r--package/wlcompat/src/wlcompat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/wlcompat/src/wlcompat.c b/package/wlcompat/src/wlcompat.c
index d69ad6753d..625da6a3a4 100644
--- a/package/wlcompat/src/wlcompat.c
+++ b/package/wlcompat/src/wlcompat.c
@@ -48,7 +48,7 @@ const long channel_frequency[] = {
};
#define NUM_CHANNELS ( sizeof(channel_frequency) / sizeof(channel_frequency[0]) )
-#define RNG_POLL_FREQ 20
+#define RNG_POLL_FREQ 2
typedef struct internal_wsec_key {
uint8 index; // 0x00