Applying the changed plugin callback function name
authorsaerome.kim <saerome.kim@samsung.com>
Thu, 14 Nov 2019 10:31:52 +0000 (19:31 +0900)
committersaerome.kim <saerome.kim@samsung.com>
Fri, 15 Nov 2019 10:20:26 +0000 (19:20 +0900)
- Problem: The plugin callback function name changed.
- Cause: The naming rule is strange.
- Solution: Change the callback function mame.

Change-Id: I936fbf2f95d7f1ab8ba7a6e1826e1f167f1ae574
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
packaging/ua-plugin-wifi-dummy.spec
src/wifi-plugin.c
src/wifi-util.c

index 1fe9d19..4b30842 100644 (file)
@@ -3,7 +3,7 @@
 
 Name:       ua-plugin-wifi-dummy
 Summary:    Wi-Fi User awareness plugin for VD
-Version:    0.10.3
+Version:    0.12.0
 Release:    1
 License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
index 7c10888..931a26f 100644 (file)
@@ -531,10 +531,10 @@ static gboolean stop_active_scan(gpointer user_data)
 
        stop_active_scan_timer = 0;
 
-       if (!uas_cbs || !uas_cbs->active_scan_cb)
+       if (!uas_cbs || !uas_cbs->device_active_scan_cb)
                return G_SOURCE_REMOVE;
 
-       uas_cbs->active_scan_cb(UAS_ACTIVE_SCAN_COMPLETED, NULL);
+       uas_cbs->device_active_scan_cb(UAS_ACTIVE_SCAN_COMPLETED, NULL);
        FUNC_EXIT;
        return G_SOURCE_REMOVE;
 }
index d9e9e1a..c54997b 100755 (executable)
@@ -144,4 +144,3 @@ void _wifi_plugin_util_uas_device_info_free(uas_device_info_t *device)
 
        FUNC_EXIT;
 }
-