aboutsummaryrefslogtreecommitdiffstats
path: root/main/bluez/003-Increase-firmware-load-timeout-to-30s.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/bluez/003-Increase-firmware-load-timeout-to-30s.patch')
-rw-r--r--main/bluez/003-Increase-firmware-load-timeout-to-30s.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/main/bluez/003-Increase-firmware-load-timeout-to-30s.patch b/main/bluez/003-Increase-firmware-load-timeout-to-30s.patch
new file mode 100644
index 0000000000..fa0948d921
--- /dev/null
+++ b/main/bluez/003-Increase-firmware-load-timeout-to-30s.patch
@@ -0,0 +1,20 @@
+From d41dc2046dd08d8c95197f677e224506f5b39bdd Mon Sep 17 00:00:00 2001
+From: Phil Elwell <phil@raspberrypi.org>
+Date: Wed, 20 Jan 2016 16:00:37 +0000
+Subject: [PATCH 3/4] Increase firmware load timeout to 30s
+
+---
+ tools/hciattach.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/tools/hciattach.c
++++ b/tools/hciattach.c
+@@ -1293,7 +1293,7 @@ int main(int argc, char *argv[])
+ {
+ struct uart_t *u = NULL;
+ int detach, printpid, raw, opt, i, n, ld, err;
+- int to = 10;
++ int to = 30;
+ int init_speed = 0;
+ int send_break = 0;
+ pid_t pid;