GSList *list;
int i = 0;
+ if (profile == NULL)
+ return false;
+
for (list = prof_handle_list; list; list = list->next)
if (profile == list->data) return true;
return CONNECTION_ERROR_PERMISSION_DENIED;
}
+ if (ethernet_profiles.count == 0) {
+ state = CONNECTION_ETHERNET_STATE_DEACTIVATED;
+ return true;
+ }
+
switch (ethernet_profiles.profiles->ProfileState) {
case NET_STATE_TYPE_ONLINE:
case NET_STATE_TYPE_READY: