PKGBUILDs/extra/libbtctl/libbtctl-bluez4.patch
2009-10-09 21:23:22 -05:00

15 lines
514 B
Diff

Index: src/btctlimpl.c
===================================================================
--- src/btctlimpl.c (revision 134)
+++ src/btctlimpl.c (working copy)
@@ -330,8 +330,8 @@
if (dd>=0) {
for (i = 0; i < num_rsp; i++) {
memset(name, 0, sizeof(name));
- if (hci_remote_name(dd, &(info+i)->bdaddr,
- sizeof(name), name, 100000) < 0)
+ if (hci_read_remote_name(dd, &(info+i)->bdaddr,
+ sizeof(name), name, 100000) < 0)
strcpy(name, "n/a");
baswap(&bdaddr, &(info+i)->bdaddr);