Fix sdb connection issue in emulator profile
Change-Id: Ia43f08d912bc41f3b50f90855f3b8c2770d8e081
int ret;
connection_cellular_state_e state;
- if (!telephony_supported && !wifi_supported && !bt_tethering_supported) {
+ 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_NOT_SUPPORTED);
+ CHECK_RETURN("connection_close_profile", ret, CONNECTION_ERROR_INVALID_PARAMETER);
return 0;
}