Some access point exclude station which have tried 3 times a wrong passphrase.
Decreasing this counter to two gives a chance to the user to connect after
entering a wrong passphrase.
---
 plugins/wifi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugins/wifi.c b/plugins/wifi.c
index a6da298..1047202 100644
--- a/plugins/wifi.c
+++ b/plugins/wifi.c
@@ -57,7 +57,7 @@
 
 #define CLEANUP_TIMEOUT   8    /* in seconds */
 #define INACTIVE_TIMEOUT  12   /* in seconds */
-#define MAXIMUM_RETRIES   4
+#define MAXIMUM_RETRIES   2
 
 #define BGSCAN_DEFAULT "simple:30:-45:300"
 #define AUTOSCAN_DEFAULT "exponential:3:300"
-- 
1.7.5.4

_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to