Fix UTC failure issue in emulator image.
Change-Id: I5d4567b65c2e947bb6040af4aa988b1d70ff5f57
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
if (!telephony_supported && !wifi_supported) {
ret = connection_close_profile(connection, profile_temp, test_connection_closed_callback, NULL);
- CHECK_RETURN("connection_close_profile", ret, CONNECTION_ERROR_INVALID_PARAMETER);
+ if (!bt_tethering_supported) {
+ CHECK_RETURN("connection_close_profile", ret, CONNECTION_ERROR_NOT_SUPPORTED);
+ } else {
+ CHECK_RETURN("connection_close_profile", ret, CONNECTION_ERROR_INVALID_PARAMETER);
+ }
+
return 0;
}