From: chleun.moon Date: Tue, 19 Sep 2017 07:58:18 +0000 (+0900) Subject: [WGID-249231] Fix a svace issue X-Git-Tag: submit/tizen/20170920.020838^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1dba9a24bca8899634c7b98f1815190719e310f8;p=platform%2Fcore%2Fconnectivity%2Fasp-manager.git [WGID-249231] Fix a svace issue Change-Id: Ia860b257e8cee5e9404527331e8c2b57111512bf Signed-off-by: Cheoleun Moon --- diff --git a/src/tech/asp-tech-p2p.c b/src/tech/asp-tech-p2p.c index 8262540..8a930ec 100755 --- a/src/tech/asp-tech-p2p.c +++ b/src/tech/asp-tech-p2p.c @@ -167,6 +167,8 @@ static gint32 __net_wifidirect_gerror_to_enum(GError* error) ASP_LOGE("wifi_direct_dbus_method_call_sync() failed. error [%d: %s]", error->code, error->message); + res = -1; + /* if (NULL == strstr(error->message, "net.wifidirect.Error")) { if (NULL != strstr(error->message, ".AccessDenied")) { ASP_LOGE("Client doesn't have wifidirect privilege"); @@ -187,6 +189,7 @@ static gint32 __net_wifidirect_gerror_to_enum(GError* error) else res = -1; } + */ return res; }