From: Patrik Flykt <patrik.fl...@linux.intel.com> Stay at ready state with a preferred technology also when the online check fails. Otherwise we end up in an endless autoconnect loop with two preferred WiFi networks where neither one goes to online.
Print out a warning message when the online check fails. --- src/service.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/service.c b/src/service.c index 1f0807b..8814754 100644 --- a/src/service.c +++ b/src/service.c @@ -4863,7 +4863,8 @@ int __connman_service_online_check_failed(struct connman_service *service, /* currently we only retry IPv6 stuff */ if (type == CONNMAN_IPCONFIG_TYPE_IPV4 || service->online_check_count != 1) { - __connman_service_auto_connect(); + connman_warn("Online check failed for %p %s", service, + service->name); return 0; } -- 1.7.10 _______________________________________________ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman