Fix auto connection failure
[platform/upstream/connman.git] / src / service.c
index 90ff7e5..e6cc61c 100755 (executable)
@@ -6473,6 +6473,13 @@ static bool auto_connect_service(GList *services,
                if (autoconnect_no_session_active(service))
                        return true;
 #endif
+#if defined TIZEN_EXT
+               if (service->type == CONNMAN_SERVICE_TYPE_WIFI) {
+                       int index = connman_network_get_index(service->network);
+                       wifi_ignore = g_slist_prepend(wifi_ignore, GINT_TO_POINTER(index));
+                       autoconnecting = true;
+               }
+#endif
                ignore[service->type] = true;
        }
 #if defined TIZEN_EXT