+net-config (0.1.84-1) unstable; urgency=low
+
+ * Fix Wi-Fi power state update
+ * Git: slp/pkgs/n/net-config
+ * Tag: net-config_0.1.84-1
+
+ -- Danny Jeongseok Seo <s.seo@samsung.com> Wed, 30 May 2012 13:34:17 +0900
+
net-config (0.1.83) unstable; urgency=low
* Revise emulator support
rv = netconfig_execute_file(path, args, envs);
if (rv != TRUE) {
- DBG("failed to load wireless device driver");
+ DBG("Failed to load wireless device driver");
return FALSE;
}
rv = netconfig_execute_file(path, args, env);
if (rv != TRUE) {
- DBG("failed to remove(unload) driver for wireless device");
+ DBG("Failed to remove(unload) driver for wireless device");
return FALSE;
}
}
if (g_str_equal(wifi_tech_state, "EnabledTechnologies") != TRUE) {
- netconfig_wifi_update_power_state(FALSE);
-
- return __netconfig_wifi_remove_driver();
+ g_free(wifi_tech_state);
+ break;
}
g_free(wifi_tech_state);
+ }
- wifi_tech_state = NULL;
+ if (__netconfig_wifi_remove_driver() == TRUE) {
+ netconfig_wifi_update_power_state(FALSE);
+ return TRUE;
}
- return __netconfig_wifi_remove_driver();
+ return FALSE;
}
static void __netconfig_wifi_airplane_mode(keynode_t* node,