[TDLS] Use TDLS's enumeration for dbus method call reply 79/245479/1
authorNishant Chaprana <n.chaprana@samsung.com>
Fri, 9 Oct 2020 13:41:27 +0000 (19:11 +0530)
committerNishant Chaprana <n.chaprana@samsung.com>
Fri, 9 Oct 2020 13:41:53 +0000 (19:11 +0530)
Change-Id: If262fc7156403f79d56be7dccbfe25883dc13c77
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
packaging/net-config.spec
src/wifi-tdls.c

index 65a60db..93bad22 100755 (executable)
@@ -1,6 +1,6 @@
 Name:          net-config
 Summary:       TIZEN Network Configuration service
-Version:       1.2.4
+Version:       1.2.5
 Release:       3
 Group:         System/Network
 License:       Apache-2.0
index f42ed2a..bb32156 100755 (executable)
@@ -159,7 +159,7 @@ gboolean handle_tdls_connect(Wifi *wifi, GDBusMethodInvocation *context,
                is_connected = 1;
        }
 
-       wifi_complete_tdls_connect(wifi, context, 1);
+       wifi_complete_tdls_connect(wifi, context, NETCONFIG_ERROR_TDLS_NO_ERROR);
        return TRUE;
 }