This email list is read-only.  Emails sent to this list will be discarded
----------------------------------
 plugins/wifi.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

New commits:
commit c4cca8087b85ee569b450a9b4ea91eb7f0b8a3d4
Author: Marcel Holtmann <[email protected]>
Date:   Sat Dec 13 20:44:36 2008 +0100

    Only try to connect to available networks


Diff in this email is a maximum of 400 lines.
diff --git a/plugins/wifi.c b/plugins/wifi.c
index 7599063..6dafad4 100644
--- a/plugins/wifi.c
+++ b/plugins/wifi.c
@@ -198,7 +198,8 @@ static void connect_known_networks(struct connman_element 
*device)
                struct connman_element *element = list->data;
 
                if (element->policy == CONNMAN_ELEMENT_POLICY_AUTO &&
-                                               element->remember == TRUE) {
+                                               element->remember == TRUE &&
+                                               element->available == TRUE) {
                        if (network_enable(element) == 0)
                                return;
                }
_______________________________________________
Commits mailing list
[email protected]
https://lists.moblin.org/mailman/listinfo/commits

Reply via email to