summaryrefslogtreecommitdiff
path: root/plugins/wifi.c
diff options
context:
space:
mode:
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>2012-04-24 16:41:37 +0300
committerMarcel Holtmann <marcel@holtmann.org>2012-04-24 16:17:44 +0200
commitc9589f074c062f8ada8e8981604fedc6fe2bf623 (patch)
treec28a2e22e6e64591f3923b4eefc23bbce938f2d4 /plugins/wifi.c
parentcb37eaba3247a50da5ab30628dd48b1cdc2c185b (diff)
downloadconnman-c9589f074c062f8ada8e8981604fedc6fe2bf623.tar.gz
connman-c9589f074c062f8ada8e8981604fedc6fe2bf623.tar.bz2
connman-c9589f074c062f8ada8e8981604fedc6fe2bf623.zip
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.
Diffstat (limited to 'plugins/wifi.c')
-rw-r--r--plugins/wifi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/wifi.c b/plugins/wifi.c
index 817c6604..8f1ad8b9 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;