[wfd-plugin]: Fix the "wps_cancel" command failed issue 44/53744/1
authorManeesh Jain <maneesh.jain@samsung.com>
Wed, 9 Dec 2015 05:42:45 +0000 (11:12 +0530)
committerManeesh Jain <maneesh.jain@samsung.com>
Wed, 9 Dec 2015 05:42:45 +0000 (11:12 +0530)
Change-Id: I9dc349f4ba8ebb7b8fea897fa633be0c7a990a47
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
packaging/wifi-direct-manager.spec
plugin/wpasupplicant/ctrl_iface_dbus/wfd-plugin-wpasupplicant.c

index 975abbc..d4222bc 100755 (executable)
@@ -1,6 +1,6 @@
 Name:          wifi-direct-manager
 Summary:       Wi-Fi Direct manger
-Version:       1.2.103
+Version:       1.2.104
 Release:       1
 Group:      Network & Connectivity/Wireless
 License:    Apache-2.0
index 4476cdd..42c47fc 100755 (executable)
@@ -1091,7 +1091,7 @@ static int _ws_cancel()
        dbus_set_method_param(&params, "Cancel", g_pd->iface_path , g_dbus);
        params.params = NULL;
 
-       res = dbus_method_call(&params, SUPPLICANT_P2PDEVICE, NULL, NULL);
+       res = dbus_method_call(&params, SUPPLICANT_WPS, NULL, NULL);
        if (res < 0)
                WDP_LOGE("Failed to send command to wpa_supplicant");
        else