1 Fix build against bluez4.
3 Signed-off-by: Samuel Martin <s.martin49@gmail.com>
5 --- ussp-push-0.11.orig/src/obex_socket.c 2012-11-01 09:58:51.049538708 +0100
6 +++ ussp-push-0.11/src/obex_socket.c 2012-11-01 12:10:10.719506951 +0100
7 @@ -197,7 +197,7 @@ static int bt_sock_name2bth(int devid, c
8 for (i = 0; i < niinf; i++) {
11 - if (hci_remote_name(dd, &piinf[i].bdaddr, sizeof(devname) - 1,
12 + if (hci_read_remote_name(dd, &piinf[i].bdaddr, sizeof(devname) - 1,
13 devname, 100000) >= 0) {
14 if (strcasecmp(devname, btname) == 0) {
15 *btaddr = piinf[i].bdaddr;