From 66e60595a4625466b18065be80ecaae029a55b55 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Thu, 12 Jun 2008 06:59:08 +0000 Subject: Use adapter_find_device instead of adapter_get_device when freeing bonding info --- hcid/dbus-hci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hcid/dbus-hci.c b/hcid/dbus-hci.c index 6e4b897e..43d89313 100644 --- a/hcid/dbus-hci.c +++ b/hcid/dbus-hci.c @@ -80,7 +80,7 @@ void bonding_request_free(struct bonding_request_info *bonding) ba2str(&bonding->bdaddr, address); - device = adapter_get_device(connection, bonding->adapter, address); + device = adapter_find_device(bonding->adapter, address); if (device && device->agent) { agent_destroy(device->agent, FALSE); device->agent = NULL; -- cgit