summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-03-20 20:25:16 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2008-03-20 20:25:16 +0000
commit7e5d5dc87bc8bad4668475e89fa2cc7aaf80f961 (patch)
tree8d8ffd07cd4d2b200f420c72e6259b1a4a11b39d
parentd504a0767e08b04f2af78c10db79d8e35f0c3e92 (diff)
Remove invalid call to agent_destroy
-rw-r--r--hcid/dbus-hci.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/hcid/dbus-hci.c b/hcid/dbus-hci.c
index 69b4ab77..9854f301 100644
--- a/hcid/dbus-hci.c
+++ b/hcid/dbus-hci.c
@@ -1107,11 +1107,6 @@ void hcid_dbus_bonding_process_complete(bdaddr_t *local, bdaddr_t *peer,
release_passkey_agents(adapter, peer);
- if (adapter->agent) {
- agent_destroy(adapter->agent, FALSE);
- adapter->agent = NULL;
- }
-
if (!adapter->bonding || bacmp(&adapter->bonding->bdaddr, peer))
return; /* skip: no bonding req pending */