Error = _net_dbus_open_connection(prof_info->ProfileName);
//LCOV_EXCL_STOP
-error :
+error:
if (NET_ERR_NONE != Error) {
WIFI_LOG(WIFI_ERROR, //LCOV_EXCL_LINE
"Failed to request open connection, Error [%s]",
}
}
- if (security_type == (WIFI_MANAGER_EAP_TYPE_SIM | WIFI_MANAGER_EAP_TYPE_AKA))
- WIFI_LOG(WIFI_INFO, "security_type: %d", security_type);
-
config_id = _wifi_config_get_config_id(name, security_type);
ssid = __wifi_change_name_to_hexadecimal(name);
char *profileName;
system_info_get_platform_string("http://tizen.org/feature/profile", &profileName);
switch (*profileName) {
- case 'm':
- case 'M':
- profile = TIZEN_PROFILE_MOBILE;
- break;
- case 'w':
- case 'W':
- profile = TIZEN_PROFILE_WEARABLE;
- break;
- case 't':
- case 'T':
- profile = TIZEN_PROFILE_TV;
- break;
- case 'i':
- case 'I':
- profile = TIZEN_PROFILE_IVI;
- break;
- default: // common or unknown ==> ALL ARE COMMON.
- profile = TIZEN_PROFILE_COMMON;
+ case 'm':
+ case 'M':
+ profile = TIZEN_PROFILE_MOBILE;
+ break;
+ case 'w':
+ case 'W':
+ profile = TIZEN_PROFILE_WEARABLE;
+ break;
+ case 't':
+ case 'T':
+ profile = TIZEN_PROFILE_TV;
+ break;
+ case 'i':
+ case 'I':
+ profile = TIZEN_PROFILE_IVI;
+ break;
+ default: // common or unknown ==> ALL ARE COMMON.
+ profile = TIZEN_PROFILE_COMMON;
}
free(profileName);