From 91ee7498214310b04b0d70d0016dfd3804dd64ae Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Thu, 15 Jan 2009 23:47:50 +0100 Subject: Use dedicated bonding and no MITM for pairing --- src/dbus-hci.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/dbus-hci.c') 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) { -- cgit