summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/bluez/bluez-utils.inc1
-rw-r--r--packages/bluez/files/hciattach_devlength.patch11
2 files changed, 12 insertions, 0 deletions
diff --git a/packages/bluez/bluez-utils.inc b/packages/bluez/bluez-utils.inc
index 07dc5d6125..4fb7efd198 100644
--- a/packages/bluez/bluez-utils.inc
+++ b/packages/bluez/bluez-utils.inc
@@ -9,6 +9,7 @@ PR = "r7"
SRC_URI = "http://bluez.sourceforge.net/download/bluez-utils-${PV}.tar.gz \
file://base.patch;patch=1 \
file://blueboxes.patch;patch=1 \
+ file://hciattach_devlength.patch;patch=1 \
file://hcid.conf \
file://bluetooth.default \
file://bluetooth.conf "
diff --git a/packages/bluez/files/hciattach_devlength.patch b/packages/bluez/files/hciattach_devlength.patch
new file mode 100644
index 0000000000..8d84cb1b00
--- /dev/null
+++ b/packages/bluez/files/hciattach_devlength.patch
@@ -0,0 +1,11 @@
+--- bluez-utils-2.21/tools/hciattach.c.orig 2005-12-15 16:29:55.000000000 +0100
++++ bluez-utils-2.21/tools/hciattach.c 2005-12-15 16:29:37.000000000 +0100
+@@ -973,7 +973,7 @@
+ int send_break = 0;
+ pid_t pid;
+ struct sigaction sa;
+- char dev[20];
++ char dev[25];
+
+ detach = 1;
+ printpid = 0;