Blame view

buildroot/buildroot-2016.08.1/package/cwiid/0002-Update-for-BlueZ-changes.patch 1019 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
  From c5dd7d4a9af5a7d8ead8ad26d9e5e0f8f8292d29 Mon Sep 17 00:00:00 2001
  From: "L. Donnie Smith" <donnie.smith@gatech.edu>
  Date: Sun, 30 Nov 2008 22:34:08 +0000
  Subject: [PATCH] Update for BlueZ changes.
  
  git-svn-id: http://abstrakraft.org/cwiid/svn/trunk@183 918edb2d-ff29-0410-9de2-eb38e7f22bc7
  ---
   libcwiid/bluetooth.c | 4 ++--
   1 file changed, 2 insertions(+), 2 deletions(-)
  
  diff --git a/libcwiid/bluetooth.c b/libcwiid/bluetooth.c
  index 63284a8..e986f75 100644
  --- a/libcwiid/bluetooth.c
  +++ b/libcwiid/bluetooth.c
  @@ -122,8 +122,8 @@ int cwiid_get_bdinfo_array(int dev_id, unsigned int timeout, int max_bdinfo,
   		}
   
   		/* timeout (10000) in milliseconds */
  -		if (hci_remote_name(sock, &dev_list[i].bdaddr, BT_NAME_LEN,
  -		                    (*bdinfo)[bdinfo_count].name, 10000)) {
  +		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;
   			goto CODA;
  -- 
  1.8.5.2