summaryrefslogtreecommitdiffstats
path: root/hcid
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-03-20 20:30:47 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2008-03-20 20:30:47 +0000
commit8b7917b9d76b2f8a7416366065432542bdcfbc38 (patch)
treebeb207911dd0264b0ab1185e1fed628482be5f28 /hcid
parent7e5d5dc87bc8bad4668475e89fa2cc7aaf80f961 (diff)
Remove another incorrect call to agent_destroy
Diffstat (limited to 'hcid')
-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 9854f301..a193fcf1 100644
--- a/hcid/dbus-hci.c
+++ b/hcid/dbus-hci.c
@@ -829,11 +829,6 @@ int hcid_dbus_stop_device(uint16_t id)
release_passkey_agents(adapter, NULL);
- if (adapter->agent) {
- agent_destroy(adapter->agent, FALSE);
- adapter->agent = NULL;
- }
-
if (adapter->discov_requestor) {
name_listener_remove(connection, adapter->discov_requestor,
(name_cb_t) discover_devices_req_exit,