From 8b7917b9d76b2f8a7416366065432542bdcfbc38 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Thu, 20 Mar 2008 20:30:47 +0000 Subject: Remove another incorrect call to agent_destroy --- hcid/dbus-hci.c | 5 ----- 1 file changed, 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, -- cgit