PKGBUILDs/extra/libbtctl/libbtctl-bluez4.patch

16 lines
514 B
Diff
Raw Normal View History

2009-10-10 02:23:22 +00:00
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);