Fixed Build issue for Mobile profile. 85/85185/1
authorNishant Chaprana <n.chaprana@samsung.com>
Wed, 24 Aug 2016 06:29:23 +0000 (11:59 +0530)
committerNishant Chaprana <n.chaprana@samsung.com>
Wed, 24 Aug 2016 06:29:23 +0000 (11:59 +0530)
Change-Id: Ia08c6c05bfb65ba21c38a00594d9c4f47eae17d7
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
packaging/wifi-direct-manager.spec
plugin/wpasupplicant/ctrl_iface_dbus/wfd-plugin-wpasupplicant.c

index fefb73a..d7e392e 100644 (file)
@@ -1,6 +1,6 @@
 Name:          wifi-direct-manager
 Summary:       Wi-Fi Direct manger
-Version:       1.2.196
+Version:       1.2.197
 Release:       1
 Group:      Network & Connectivity/Wireless
 License:    Apache-2.0
index 03c2133..5db8189 100644 (file)
@@ -544,8 +544,8 @@ static void _ws_process_interface_removed(GDBusConnection *connection,
 
                memset(&event, 0x0, sizeof(wfd_oem_event_s));
                event.event_id = WFD_OEM_EVENT_DEACTIVATED;
-               if (g_pd->callback && g_pd->callback->deactivated)
-                       g_pd->callback->deactivated(&event);
+               if (g_pd->callback && g_pd->callback->deactivated_cb)
+                       g_pd->callback->deactivated_cb(&event);
 
                memset(g_pd->iface_path, 0x0, DBUS_OBJECT_PATH_MAX);
        }
@@ -2684,11 +2684,12 @@ GLIST_ITER_START(seek_list, tmp)
        }
 GLIST_ITER_END()
 
-       if (tmp != NULL && tmp->service_info != NULL)
+       if (tmp != NULL && tmp->service_info != NULL) {
                if (g_pd->callback->asp_serv_resp_cb)
                        g_pd->callback->asp_serv_resp_cb(&event);
-       else
+       } else {
                WDP_LOGD("service info is not required, don't notify to user");
+       }
 
        g_free(service->service_type);
        g_free(service->service_info);