summaryrefslogtreecommitdiffstats
path: root/src/dbus-hci.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-01-15 23:47:50 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-01-15 23:47:50 +0100
commit91ee7498214310b04b0d70d0016dfd3804dd64ae (patch)
tree2dccdffaacc0506ba0410b9bf65fc396c02d73fc /src/dbus-hci.c
parent3bf56894a1ca387afbe963ef67cb1e13286ea61e (diff)
Use dedicated bonding and no MITM for pairing
Diffstat (limited to 'src/dbus-hci.c')
-rw-r--r--src/dbus-hci.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/dbus-hci.c b/src/dbus-hci.c
index d4dc1537..994e25cc 100644
--- a/src/dbus-hci.c
+++ b/src/dbus-hci.c
@@ -1252,10 +1252,7 @@ int hcid_dbus_get_io_cap(bdaddr_t *local, bdaddr_t *remote,
/* For CreatePairedDevice use dedicated bonding */
agent = device_get_agent(device);
- if (agent) {
- debug("Pairing attempt, use dedicated bonding without MITM");
- *auth = 0x02;
- } else
+ if (!agent)
agent = adapter_get_agent(adapter);
if (!agent) {