summaryrefslogtreecommitdiffstats
path: root/hcid/adapter.c
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/adapter.c')
-rw-r--r--hcid/adapter.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/hcid/adapter.c b/hcid/adapter.c
index e08ab300..5a9ad77e 100644
--- a/hcid/adapter.c
+++ b/hcid/adapter.c
@@ -59,8 +59,6 @@
#include "dbus-hci.h"
#include "dbus-sdp.h"
#include "dbus-database.h"
-#include "dbus-service.h"
-#include "dbus-security.h"
#include "dbus-error.h"
#include "error.h"
#include "glib-helper.h"
@@ -1144,10 +1142,6 @@ static void create_bond_req_exit(void *user_data)
debug("CreateConnection requestor exited before bonding was completed");
- cancel_passkey_agent_requests(adapter->passkey_agents, path,
- &adapter->bonding->bdaddr);
- release_passkey_agents(adapter, &adapter->bonding->bdaddr);
-
auth = adapter_find_auth_request(adapter, &adapter->bonding->bdaddr);
if (auth) {
cancel_auth_request(auth, adapter->dev_id);