From 2212446822512c1e6b72b161cc1b932db60c23ea Mon Sep 17 00:00:00 2001 From: Shashank Shekhar Shukla Date: Thu, 23 Jun 2016 18:57:08 +0900 Subject: [PATCH] [ITC][connection][Non-ACR][Fix TC scenario for wearable profile] Change-Id: I7b9630208e1238baca7af205ec5697ec018ac22e Signed-off-by: Shashank Shekhar Shukla --- src/itc/connection/ITs-connection-cellular-profile.c | 2 +- src/itc/connection/ITs-connection-profile.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/itc/connection/ITs-connection-cellular-profile.c b/src/itc/connection/ITs-connection-cellular-profile.c index 415c660..36d3a1e 100755 --- a/src/itc/connection/ITs-connection-cellular-profile.c +++ b/src/itc/connection/ITs-connection-cellular-profile.c @@ -100,7 +100,7 @@ void ITs_connection_cellular_profile_startup(void) } nRet = connection_get_cellular_state(g_hConenctionHandle, &eState); - if ( nRet != CONNECTION_ERROR_NONE ) + if ( nRet != CONNECTION_ERROR_NONE && nRet != CONNECTION_ERROR_NOT_SUPPORTED) { FPRINTF("[Line: %d][%s] connection_get_cellular_state failed in startup, returned error %s\\n", __LINE__, API_NAMESPACE, ConnectionGetError(nRet)); g_nConnectionPreconditionError = 1; diff --git a/src/itc/connection/ITs-connection-profile.c b/src/itc/connection/ITs-connection-profile.c index ce43181..4739816 100755 --- a/src/itc/connection/ITs-connection-profile.c +++ b/src/itc/connection/ITs-connection-profile.c @@ -153,7 +153,7 @@ void ITs_connection_profile_startup(void) } nRet = connection_get_cellular_state(g_hConenctionHandle, &eState); - if ( nRet != CONNECTION_ERROR_NONE ) + if ( nRet != CONNECTION_ERROR_NONE && nRet != CONNECTION_ERROR_NOT_SUPPORTED) { FPRINTF("[Line: %d][%s] connection_get_cellular_state failed in startup, returned error %s\\n", __LINE__, API_NAMESPACE, ConnectionGetError(nRet)); g_nConnectionPreconditionError = 1; -- 2.7.4