summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-test.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2006-10-12 18:33:03 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2006-10-12 18:33:03 +0000
commitaa252ab9e02d8d3af8f77e14c5820574d0e5d286 (patch)
tree2cece803528c9c01c1e83affb15515526b8cee10 /hcid/dbus-test.c
parentffd5e5fb837d8ff39dffe17d5c80983b2b82f834 (diff)
Code cleanup
Diffstat (limited to 'hcid/dbus-test.c')
-rw-r--r--hcid/dbus-test.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/hcid/dbus-test.c b/hcid/dbus-test.c
index a18a5005..c8c977ea 100644
--- a/hcid/dbus-test.c
+++ b/hcid/dbus-test.c
@@ -401,7 +401,7 @@ static DBusHandlerResult audit_remote_device(DBusConnection *conn,
if (!read_l2cap_info(&local, &peer, NULL, NULL, NULL, NULL))
return error_audit_already_exists(conn, msg);
- if (adapter->disc_active || (adapter->pdisc_active && !adapter->pinq_idle))
+ if (adapter->discov_active || (adapter->pdiscov_active && !adapter->pinq_idle))
queue = TRUE;
else
queue = audit_in_progress();
@@ -639,7 +639,8 @@ void process_audits_list(const char *adapter_path)
continue;
}
- if (adapter->disc_active || (adapter->pdisc_active && !adapter->pinq_idle))
+ if (adapter->discov_active || (adapter->pdiscov_active
+ && !adapter->pinq_idle))
continue;
sk = l2raw_connect(adapter->address, &audit->peer);