summaryrefslogtreecommitdiff
path: root/package/wlcompat
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 /package/wlcompat
parentff7e84d401a4d17f57c2bace76d8725d4a762218 (diff)
downloadmtk-20170518-ae8ebcb9792d9ee69eff4ab5bb1ebffa90bccd65.zip
mtk-20170518-ae8ebcb9792d9ee69eff4ab5bb1ebffa90bccd65.tar.gz
mtk-20170518-ae8ebcb9792d9ee69eff4ab5bb1ebffa90bccd65.tar.bz2
massively decrease the wlcompat entropy polling frequency - hurts performance and we really don't need that much entropy
SVN-Revision: 5522
Diffstat (limited to 'package/wlcompat')
-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 d69ad67..625da6a 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