summaryrefslogtreecommitdiffstats
path: root/src/dbus-hci.c
diff options
context:
space:
mode:
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) {