diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-06-12 06:59:08 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-06-12 06:59:08 +0000 |
commit | 66e60595a4625466b18065be80ecaae029a55b55 (patch) | |
tree | 7f5d922368280b4f39007fd171be8cdbde5f2b2b /hcid | |
parent | b95353476941aa01b20d52d67fd35ddeba668167 (diff) |
Use adapter_find_device instead of adapter_get_device when freeing bonding info
Diffstat (limited to 'hcid')
-rw-r--r-- | hcid/dbus-hci.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |