Call connected_cb when wifi_manager_cancel_wps() is called 41/202141/1 accepted/tizen/unified/20190326.073452 submit/tizen/20190326.001708
authorCheoleun Moon <chleun.moon@samsung.com>
Mon, 25 Mar 2019 07:23:23 +0000 (16:23 +0900)
committerCheoleun Moon <chleun.moon@samsung.com>
Mon, 25 Mar 2019 07:23:27 +0000 (16:23 +0900)
wifi_manager_connect_by_wps.. APIs have wifi_manager_connected_cb as a
parameter. It is not called when WPS connection is cancelled by calling
wifi_manager_cancel_wps().

Change-Id: Ie209938c659ea601e4bdb9dbe3abf88e809fff4a
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
packaging/capi-network-wifi-manager.spec
src/wifi_internal.c

index 291ead8..705eaef 100755 (executable)
@@ -1,6 +1,6 @@
 Name:          capi-network-wifi-manager
 Summary:       Network Wi-Fi library in TIZEN C API
-Version:       1.0.42
+Version:       1.0.43
 Release:       1
 Group:         System/Network
 License:       Apache-2.0
index ca840cd..224d75b 100755 (executable)
@@ -2730,6 +2730,7 @@ int _wifi_cancel_wps(void)
        if (rv != NET_ERR_NONE)
                return WIFI_MANAGER_ERROR_OPERATION_FAILED;
 
+       __connected_cb(WIFI_MANAGER_ERROR_OPERATION_ABORTED);
        return WIFI_MANAGER_ERROR_NONE;
 }
 //LCOV_EXCL_STOP