Fix TCAPI-2223
authorchleun.moon <chleun.moon@samsung.com>
Tue, 14 Feb 2017 06:45:14 +0000 (15:45 +0900)
committerchleun.moon <chleun.moon@samsung.com>
Tue, 14 Feb 2017 06:49:07 +0000 (15:49 +0900)
Hidden AP is supposed to be created when hidden as a parameter of createHanddle() is true, but it was reversed.

Change-Id: Ia3d13626d04f3b0254bcafd379abac838236f1f0
Signed-off-by: cheoleun <chleun.moon@samsung.com>
packaging/csapi-network-wifi.spec
src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiAP.cs

index a1af189..02fa6b9 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       csapi-network-wifi
 Summary:    Tizen Wi-Fi API for C#
-Version:    1.0.5
+Version:    1.0.6
 Release:    1
 Group:      Development/Libraries
 License:    Apache-2.0
index 3b67f58..c10ca57 100755 (executable)
@@ -107,11 +107,11 @@ namespace Tizen.Network.WiFi
             int ret = -1;
             if (hidden)
             {
-                ret = Interop.WiFi.AP.Create(WiFiManagerImpl.Instance.GetHandle(), id, out _apHandle);
+                ret = Interop.WiFi.AP.CreateHiddenAP(WiFiManagerImpl.Instance.GetHandle(), id, out _apHandle);
             }
             else
             {
-                ret = Interop.WiFi.AP.CreateHiddenAP(WiFiManagerImpl.Instance.GetHandle(), id, out _apHandle);
+                ret = Interop.WiFi.AP.Create(WiFiManagerImpl.Instance.GetHandle(), id, out _apHandle);
             }
 
             if (ret != (int)WiFiError.None)