mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
15 lines
514 B
Diff
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);
|