Ticket #70: bluez_4_api_changes.patch

File bluez_4_api_changes.patch, 487 bytes (added by superm1, 4 years ago)
  • cwiid-0.6.00.orig/libcwiid/bluetooth.c

    old new  
    122122                } 
    123123 
    124124                /* timeout (10000) in milliseconds */ 
    125                 if (hci_remote_name(sock, &dev_list[i].bdaddr, BT_NAME_LEN, 
     125                if (hci_read_remote_name(sock, &dev_list[i].bdaddr, BT_NAME_LEN, 
    126126                                    (*bdinfo)[bdinfo_count].name, 10000)) { 
    127127                        cwiid_err(NULL, "Bluetooth name read error"); 
    128128                        err = 1;