Fixed tethering disable callback issue 35/123535/2
authorMilind Ramesh Murhekar <m.murhekar@samsung.com>
Thu, 6 Apr 2017 04:39:23 +0000 (10:09 +0530)
committerMilind Ramesh Murhekar <m.murhekar@samsung.com>
Thu, 6 Apr 2017 04:43:12 +0000 (10:13 +0530)
Description:
This patch fixses the tethering wifi ap disable callback.
gdbus callback should use correct event type.

Change-Id: I52093ed2da65a7f260258bc6a95f76e161af7ea1
Signed-off-by: Milind Ramesh Murhekar <m.murhekar@samsung.com>
src/mobileap_wifi.c

index 570a6be..5c639ef 100755 (executable)
@@ -1104,7 +1104,7 @@ gboolean tethering_disable_wifi_ap(Tethering *obj,
        ret = _disable_wifi_ap(obj);
        tethering_emit_wifi_ap_off(obj, NULL);
        tethering_complete_disable_wifi_ap(obj, g_context,
-                       MOBILE_AP_ENABLE_WIFI_AP_CFM, ret);
+                       MOBILE_AP_DISABLE_WIFI_AP_CFM, ret);
 
        if (ret != MOBILE_AP_ERROR_NONE)
                return FALSE;