On Thu, 2012-05-10 at 10:45 +0200, Julien Pichon wrote:
> if (service->favorite == FALSE) {
>         if (preferred == TRUE)
>                 go next_service;
>         return FALSE; <=======================
> }

Since the service list is sorted, services with favorite = TRUE go first
in the list. Favorite == TRUE means the service has a saved
configuration. Autoconnect is not interested in anything later in the
list, since none of them will have their configuration saved.


Cheers,

        Patrik

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

Reply via email to