+net-config (0.1.78) unstable; urgency=low
+
+ * Revise ConnMan profile prefix to fit ConnMan 0.78
+ * Git: slp/pkgs/n/net-config
+ * Tag: net-config_0.1.78
+
+ -- Danny Jeongseok Seo <s.seo@samsung.com> Tue, 08 May 2012 15:55:04 +0900
+
net-config (0.1.77) unstable; urgency=low
* Revise net-config to fit Android supplicant
Name: net-config
Summary: TIZEN Network Configuration Module
-Version: 0.1.77
+Version: 0.1.78
Release: 1
Group: System/Network
License: Apache License Version 2.0
if (wifi_tech_state == NULL)
netconfig_wifi_update_power_state(FALSE);
- else
+ else {
+ if (g_str_equal(wifi_tech_state, "EnabledTechnologies") != TRUE)
+ netconfig_wifi_update_power_state(FALSE);
+
g_free(wifi_tech_state);
+ }
} else if (g_str_equal(property, "enabled") == TRUE)
netconfig_wifi_update_power_state(TRUE);
}
static GSList *__netconfig_wifi_state_get_service_profiles(DBusMessage *message)
{
+ char *wifi_service_prefix = CONNMAN_PATH "/service/wifi_";
GSList *service_profiles = NULL;
DBusMessageIter iter, dict;
while (dbus_message_iter_get_arg_type(&value) == DBUS_TYPE_OBJECT_PATH) {
dbus_message_iter_get_basic(&value, &object_path);
- if (g_str_has_prefix(object_path, "/profile/default/wifi_") ==TRUE)
+ if (g_str_has_prefix(object_path, wifi_service_prefix) == TRUE)
service_profiles = g_slist_append(service_profiles, g_strdup(object_path));
dbus_message_iter_next(&value);