Просмотр исходного кода

massively decrease the wlcompat entropy polling frequency - hurts performance and we really don't need that much entropy

SVN-Revision: 5522
Felix Fietkau 19 лет назад
Родитель
Сommit
ae8ebcb979
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      package/wlcompat/src/wlcompat.c

+ 1 - 1
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