summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-test.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2006-10-04 23:23:30 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2006-10-04 23:23:30 +0000
commita368dbf05dfaffb69a31f91270fa0c6985295a27 (patch)
tree7be52d2025a15cfca10284cdf1c468425c7507f6 /hcid/dbus-test.c
parentf379471f3a551f89cbc4554941423895b1e56325 (diff)
Allow AuditRemoteDevice while periodic inquiry is active
Diffstat (limited to 'hcid/dbus-test.c')
-rw-r--r--hcid/dbus-test.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hcid/dbus-test.c b/hcid/dbus-test.c
index b1c46cec..fa46dbfb 100644
--- a/hcid/dbus-test.c
+++ b/hcid/dbus-test.c
@@ -425,8 +425,7 @@ static DBusHandlerResult audit_remote_device(DBusConnection *conn,
str2ba(address, &peer);
str2ba(adapter->address, &local);
- /* check if there is a pending discover: requested by D-Bus/non clients */
- if (adapter->disc_active || (adapter->pdisc_active && !adapter->pinq_idle))
+ if (adapter->disc_active)
return error_discover_in_progress(conn, msg);
pending_remote_name_cancel(adapter);