.auto_ip = true,
.global_nameserver = NULL,
.supplicant_debug = false,
- .def_wifi_ifname = DEFAULT_WIFI_INTERFACE,
+ .def_wifi_ifname = NULL,
.file_log = true,
.dlog_log = true,
.simple_log = true,
CONF_WIFI_DEF_IFNAME, &error);
if (!error)
connman_settings.def_wifi_ifname = default_wifi_ifname;
+ else
+ connman_settings.def_wifi_ifname =
+ g_strdup(DEFAULT_WIFI_INTERFACE);
g_clear_error(&error);
g_free(connman_settings.online_check_ipv6_url);
#if defined TIZEN_EXT
+ g_free(connman_settings.def_wifi_ifname);
g_free(connman_ins_settings.ins_preferred_freq_bssid);
g_free(connman_ins_settings.ins_preferred_freq);
if (connman_ins_settings.ins_security_priority)