File cwiid-hci_read.patch of Package cwiid
--- libcwiid/bluetooth.c.orig 2010-07-30 22:13:38.000000000 +0200
+++ libcwiid/bluetooth.c 2010-07-30 22:13:51.000000000 +0200
@@ -122,7 +122,7 @@
}
/* timeout (10000) in milliseconds */
- if (hci_remote_name(sock, &dev_list[i].bdaddr, BT_NAME_LEN,
+ if (hci_read_remote_name(sock, &dev_list[i].bdaddr, BT_NAME_LEN,
(*bdinfo)[bdinfo_count].name, 10000)) {
cwiid_err(NULL, "Bluetooth name read error");
err = 1;