cwiid/cwiid-0.6.00-hci_read.patch

20 lines
665 B
Diff
Raw Permalink Normal View History

*** libcwiid/bluetooth.c 2008-11-29 12:27:44.000000000 -0600
--- libcwiid/bluetooth.c 2008-11-29 12:17:24.000000000 -0600
***************
*** 122,128 ****
}
/* timeout (10000) in milliseconds */
! if (hci_remote_name(sock, &dev_list[i].bdaddr, BT_NAME_LEN,
(*bdinfo)[bdinfo_count].name, 10000)) {
cwiid_err(NULL, "Bluetooth name read error");
err = 1;
--- 122,128 ----
}
/* timeout (10000) in milliseconds */
! 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;