The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / cwiid / 0002-Update-for-BlueZ-changes.patch
diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/cwiid/0002-Update-for-BlueZ-changes.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/cwiid/0002-Update-for-BlueZ-changes.patch
new file mode 100644 (file)
index 0000000..c0d78a8
--- /dev/null
@@ -0,0 +1,28 @@
+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
+