From a368dbf05dfaffb69a31f91270fa0c6985295a27 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Wed, 4 Oct 2006 23:23:30 +0000 Subject: Allow AuditRemoteDevice while periodic inquiry is active --- hcid/dbus-test.c | 3 +-- 1 file changed, 1 insertion(+), 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); -- cgit