summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaesub kim <taesub.kim@samsung.com>2017-03-22 06:34:02 (GMT)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>2017-03-22 06:34:03 (GMT)
commit199bca7e38232678c1c2ddbd3fc6a6b597bce6a7 (patch)
tree9e211b003cb9ebbb20e9f32429dc62716a828f79
parent793489d779f0727f9f59d02df75c0e69d07f4fc0 (diff)
parent97d06393f034262cb865fe5e30988edc0aebee3d (diff)
downloadconnman-199bca7e38232678c1c2ddbd3fc6a6b597bce6a7.zip
connman-199bca7e38232678c1c2ddbd3fc6a6b597bce6a7.tar.gz
connman-199bca7e38232678c1c2ddbd3fc6a6b597bce6a7.tar.bz2
Merge "When scan is started send signal ScanStarted to application." into tizen
-rwxr-xr-xsrc/technology.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/technology.c b/src/technology.c
index d5d4a40..969130c 100755
--- a/src/technology.c
+++ b/src/technology.c
@@ -1034,6 +1034,17 @@ static void reply_scan_pending(struct connman_technology *technology, int err)
void __connman_technology_scan_started(struct connman_device *device)
{
DBG("device %p", device);
+#if defined TIZEN_EXT
+ DBusMessage *signal;
+
+ signal = dbus_message_new_signal(CONNMAN_MANAGER_PATH,
+ CONNMAN_MANAGER_INTERFACE, "ScanStarted");
+ if (!signal)
+ return;
+
+ dbus_connection_send(connection, signal, NULL);
+ dbus_message_unref(signal);
+#endif
}
void __connman_technology_scan_stopped(struct connman_device *device,