Background scanning is done too often per default as 
RSSI -45 for WLAN is actually very good. Changing it to -65
makes it behave better (same value is used by NetworkManager).

Signed-off-by: Pasi Sjöholm <pasi.sjoh...@jollamobile.com>
---
 plugins/wifi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/wifi.c b/plugins/wifi.c
index ef4dd95..d867584 100644
--- a/plugins/wifi.c
+++ b/plugins/wifi.c
@@ -61,7 +61,7 @@
 #define INACTIVE_TIMEOUT  12   /* in seconds */
 #define FAVORITE_MAXIMUM_RETRIES 2
 
-#define BGSCAN_DEFAULT "simple:30:-45:300"
+#define BGSCAN_DEFAULT "simple:30:-65:300"
 #define AUTOSCAN_DEFAULT "exponential:3:300"
 
 #define P2P_FIND_TIMEOUT 30
-- 
1.9.1
_______________________________________________
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman

Reply via email to