From 1dba9a24bca8899634c7b98f1815190719e310f8 Mon Sep 17 00:00:00 2001 From: "chleun.moon" Date: Tue, 19 Sep 2017 16:58:18 +0900 Subject: [PATCH] [WGID-249231] Fix a svace issue Change-Id: Ia860b257e8cee5e9404527331e8c2b57111512bf Signed-off-by: Cheoleun Moon --- src/tech/asp-tech-p2p.c | 3 +++ 1 file changed, 3 insertions(+) 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; } -- 2.7.4