summaryrefslogtreecommitdiff
path: root/community/ussp-push/ussp-push-remote-name.patch
blob: 6cc6b7e9b1f16ef95f73359ad17caa8198cd0893 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -dupr ussp-push-0.11.old/src/obex_socket.c ussp-push-0.11/src/obex_socket.c
--- ussp-push-0.11.old/src/obex_socket.c	2009-05-15 11:03:34.904797689 +0200
+++ ussp-push-0.11/src/obex_socket.c	2009-05-15 11:03:45.599797286 +0200
@@ -197,7 +197,7 @@ static int bt_sock_name2bth(int devid, c
 	for (i = 0; i < niinf; i++) {
 		char devname[128];
 
-		if (hci_remote_name(dd, &piinf[i].bdaddr, sizeof(devname) - 1,
+		if (hci_read_remote_name(dd, &piinf[i].bdaddr, sizeof(devname) - 1,
 				    devname, 100000) >= 0) {
 			if (strcasecmp(devname, btname) == 0) {
 				*btaddr = piinf[i].bdaddr;