diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2006-10-12 07:50:13 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2006-10-12 07:50:13 +0000 |
commit | 3ec96c0b0cd8d78ebede255583a918145a0eeaa0 (patch) | |
tree | 255d2642b27cae59ad7a1819fded54311a5ed3ed /hcid/dbus-adapter.c | |
parent | 48d9984c99f55dc249050f56aa1c01ad56dac82d (diff) |
Sort discovered devices list based on their RSSI
Diffstat (limited to 'hcid/dbus-adapter.c')
-rw-r--r-- | hcid/dbus-adapter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/dbus-adapter.c b/hcid/dbus-adapter.c index c19d5607..baf5edf4 100644 --- a/hcid/dbus-adapter.c +++ b/hcid/dbus-adapter.c @@ -1417,7 +1417,7 @@ static DBusHandlerResult handle_dev_get_remote_name_req(DBusConnection *conn, DB /* put the request name in the queue to resolve name */ str2ba(peer_addr, &peer_bdaddr); - disc_device_append(&adapter->disc_devices, &peer_bdaddr, NAME_REQUIRED); + disc_device_add(&adapter->disc_devices, &peer_bdaddr, 0, NAME_REQUIRED); /* * if there is a discover process running, just queue the request. |