summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaesub kim <taesub.kim@samsung.com>2016-06-13 02:12:58 (GMT)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>2016-06-13 02:12:58 (GMT)
commit1473166d9316e1a74874e4208b339ef5c5bfe4b2 (patch)
tree6314199a6e8434fe1af1a64152cf310d2b883d4e
parentb164f3431bb96a71a465ef53b1f072ac2a9572cb (diff)
parent8c45a1607688b5af1f0f12711f76dc2e8a3cfd59 (diff)
downloadconnman-1473166d9316e1a74874e4208b339ef5c5bfe4b2.zip
connman-1473166d9316e1a74874e4208b339ef5c5bfe4b2.tar.gz
connman-1473166d9316e1a74874e4208b339ef5c5bfe4b2.tar.bz2
Merge "[SPIN]Set interface callback during scan request" into tizen
-rwxr-xr-xgsupplicant/supplicant.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gsupplicant/supplicant.c b/gsupplicant/supplicant.c
index 834be59..329bf6b 100755
--- a/gsupplicant/supplicant.c
+++ b/gsupplicant/supplicant.c
@@ -4216,8 +4216,13 @@ int g_supplicant_interface_scan(GSupplicantInterface *interface,
data->interface = interface;
data->path = g_strdup(interface->path);
+#if defined TIZEN_EXT
+ data->interface->scan_callback = data->callback = callback;
+ data->interface->scan_data = data->user_data = user_data;
+#else
data->callback = callback;
data->user_data = user_data;
+#endif
data->scan_params = scan_data;
interface->scan_callback = callback;