From: Anjali Nijhara Date: Wed, 20 Sep 2023 11:13:21 +0000 (+0530) Subject: [UTC][connection] Modify utc_connection_close_profile_p X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=baf8d1c60845c3d26ab8b23e483f4905b2e37f68;p=test%2Ftct%2Fnative%2Fapi.git [UTC][connection] Modify utc_connection_close_profile_p Fix sdb connection issue in emulator profile Change-Id: Ia43f08d912bc41f3b50f90855f3b8c2770d8e081 --- diff --git a/src/utc/connection/utc-network-connection.c b/src/utc/connection/utc-network-connection.c index 6d244fc21..8fa509696 100755 --- a/src/utc/connection/utc-network-connection.c +++ b/src/utc/connection/utc-network-connection.c @@ -2193,9 +2193,9 @@ int utc_connection_close_profile_p(void) 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; }