[WGID-249231] Fix a svace issue 65/150965/1 accepted/tizen/unified/20170921.072222 submit/tizen/20170920.020838
authorchleun.moon <chleun.moon@samsung.com>
Tue, 19 Sep 2017 07:58:18 +0000 (16:58 +0900)
committerchleun.moon <chleun.moon@samsung.com>
Tue, 19 Sep 2017 07:59:18 +0000 (16:59 +0900)
Change-Id: Ia860b257e8cee5e9404527331e8c2b57111512bf
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
src/tech/asp-tech-p2p.c

index 8262540..8a930ec 100755 (executable)
@@ -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;
 }