summaryrefslogtreecommitdiff
path: root/src/technology.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/technology.c')
-rwxr-xr-xsrc/technology.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/technology.c b/src/technology.c
index d5d4a408..4e9cd9e8 100755
--- a/src/technology.c
+++ b/src/technology.c
@@ -43,6 +43,10 @@ static GHashTable *rfkill_list;
static bool global_offlinemode;
+#if defined TIZEN_EXT
+static bool allow_scandone_signal = TRUE;
+#endif
+
struct connman_rfkill {
unsigned int index;
enum connman_service_type type;
@@ -1036,6 +1040,13 @@ void __connman_technology_scan_started(struct connman_device *device)
DBG("device %p", device);
}
+#if defined TIZEN_EXT
+void connman_technology_set_allow_scandone_signal(bool flag)
+{
+ allow_scandone_signal = flag;
+}
+#endif
+
void __connman_technology_scan_stopped(struct connman_device *device,
enum connman_service_type type)
{
@@ -1064,7 +1075,7 @@ void __connman_technology_scan_stopped(struct connman_device *device,
}
#if defined TIZEN_EXT
- if (count == 0) {
+ if (count == 0 && allow_scandone_signal) {
DBusMessage *signal;
signal = dbus_message_new_signal(CONNMAN_MANAGER_PATH,