From c9589f074c062f8ada8e8981604fedc6fe2bf623 Mon Sep 17 00:00:00 2001 From: Tomasz Bursztyka Date: Tue, 24 Apr 2012 16:41:37 +0300 Subject: [PATCH] wifi: Autoscan fallback using a base exponential of 3 and a shorter limit A base of 2 creates too many scans on too short times, so a base of 3 reduces this amount. And a limit of 3600 is way too much, a scan every 5 minute is more relevant. --- plugins/wifi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/wifi.c b/plugins/wifi.c index 817c660..8f1ad8b 100644 --- a/plugins/wifi.c +++ b/plugins/wifi.c @@ -59,7 +59,7 @@ #define MAXIMUM_RETRIES 4 #define BGSCAN_DEFAULT "simple:30:-45:300" -#define AUTOSCAN_DEFAULT "exponential:2:3600" +#define AUTOSCAN_DEFAULT "exponential:3:300" struct connman_technology *wifi_technology = NULL; -- 2.7.4