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:19:34 +0000 (19:19 +0900)
- Problem: The plugin callback function name changed.
- Cause: The naming rule is strange.
- Solution: Change the callback function mame.

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

index 1fe9d19648710a99af4425738def45d79a352a94..4b308421962c0ab1b36bdaea14acdea110cff89e 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 7c1088826af075bb2ed423c2c565a5ddb653ba59..931a26f3a087ca84bf8b57fb906bc795c643097f 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 d9e9e1a7fb025f4e5257dc9274a5a8d8038b6698..c54997b594ca98ace650c868e262c1eaf91d72aa 100755 (executable)
@@ -144,4 +144,3 @@ void _wifi_plugin_util_uas_device_info_free(uas_device_info_t *device)
 
        FUNC_EXIT;
 }
-