summaryrefslogtreecommitdiffstats
path: root/src/dbus-hci.c
diff options
context:
space:
mode:
authorAlok Barsode <alok.barsode@azingo.com>2008-08-28 15:25:40 +0530
committerAlok Barsode <alok.barsode@azingo.com>2008-08-29 13:53:12 +0530
commit5d936ee9bb433445272d3c2a377e42ae4ba5e5ec (patch)
treefa8993a208a126d41e995a90509f6b9d06b25f05 /src/dbus-hci.c
parenta4cbf5540b53cf4b0558c5d420354aa1b3421d61 (diff)
Moving found_device_cmp to adapter.c
Diffstat (limited to 'src/dbus-hci.c')
-rw-r--r--src/dbus-hci.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/dbus-hci.c b/src/dbus-hci.c
index f0129005..465a1072 100644
--- a/src/dbus-hci.c
+++ b/src/dbus-hci.c
@@ -90,26 +90,6 @@ void bonding_request_free(struct bonding_request_info *bonding)
g_free(bonding);
}
-int found_device_cmp(const struct remote_dev_info *d1,
- const struct remote_dev_info *d2)
-{
- int ret;
-
- if (bacmp(&d2->bdaddr, BDADDR_ANY)) {
- ret = bacmp(&d1->bdaddr, &d2->bdaddr);
- if (ret)
- return ret;
- }
-
- if (d2->name_status != NAME_ANY) {
- ret = (d1->name_status - d2->name_status);
- if (ret)
- return ret;
- }
-
- return 0;
-}
-
int active_conn_find_by_bdaddr(const void *data, const void *user_data)
{
const struct active_conn_info *con = data;