summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2006-09-20 13:46:58 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2006-09-20 13:46:58 +0000
commit0d02f462e60a4bc0bbe26f8a597dd30eb0bf4b24 (patch)
treeffb3d063377ed4cf6f2b1792b43df4b8cdf04137
parentf48070d99f3e13acf1f0abab9a6988d2e2043367 (diff)
send PeriodicDiscoveryStopped when stopping the adapter
-rw-r--r--hcid/dbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/dbus.c b/hcid/dbus.c
index 3e5b5bf5..40b5d6a2 100644
--- a/hcid/dbus.c
+++ b/hcid/dbus.c
@@ -406,7 +406,7 @@ static void reply_pending_requests(const char *path, struct hci_dbus_data *pdata
send_reply_and_unref(connection, message);
}
- if (pdata->pdiscovery_requestor) {
+ if (pdata->pdisc_active) {
/* Send periodic discovery signal */
message = dbus_message_new_signal(path, ADAPTER_INTERFACE,
"PeriodicDiscoveryStopped");