summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2013-08-08 13:20:01 +0200
committerDan Williams <dcbw@redhat.com>2013-08-08 10:52:39 -0500
commitdd9cf657ef1f9d5909dad2eb697098715325fecf (patch)
tree9b2ffe15e684d9fc3acb79e4a78c74d2e024f351
parent119345d90a23893649190bd2e13050d0c9df4861 (diff)
wifi: change bgscan threshold parameter
We do not need to increase periodical scanning frequency when AP signal strength is good enough. Signal level of -45dBm is considered as good, change the threshold to -65dBm.
-rw-r--r--src/supplicant-manager/nm-supplicant-config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/supplicant-manager/nm-supplicant-config.c b/src/supplicant-manager/nm-supplicant-config.c
index fb4d87cb11..446dc21df3 100644
--- a/src/supplicant-manager/nm-supplicant-config.c
+++ b/src/supplicant-manager/nm-supplicant-config.c
@@ -690,7 +690,7 @@ nm_supplicant_config_add_setting_wireless_security (NMSupplicantConfig *self,
/* If using WPA Enterprise, enable optimized background scanning
* to ensure roaming within an ESS works well.
*/
- if (!nm_supplicant_config_add_option (self, "bgscan", "simple:30:-45:300", -1, FALSE))
+ if (!nm_supplicant_config_add_option (self, "bgscan", "simple:30:-65:300", -1, FALSE))
nm_log_warn (LOGD_SUPPLICANT, "Error enabling background scanning for ESS roaming");
/* When using WPA-Enterprise, we want to use Proactive Key Caching (also