summaryrefslogtreecommitdiff
path: root/package/bluez/patches/patch-tools_hciattach_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/bluez/patches/patch-tools_hciattach_c')
-rw-r--r--package/bluez/patches/patch-tools_hciattach_c39
1 files changed, 21 insertions, 18 deletions
diff --git a/package/bluez/patches/patch-tools_hciattach_c b/package/bluez/patches/patch-tools_hciattach_c
index 221766348..a1a7bebc6 100644
--- a/package/bluez/patches/patch-tools_hciattach_c
+++ b/package/bluez/patches/patch-tools_hciattach_c
@@ -1,18 +1,21 @@
---- bluez-5.19.orig/tools/hciattach.c 2014-04-12 12:13:29.000000000 +0200
-+++ bluez-5.19/tools/hciattach.c 2014-06-04 16:53:28.000000000 +0200
-@@ -101,6 +101,7 @@ int uart_speed(int s)
- return B230400;
- case 460800:
- return B460800;
-+#if 0
- case 500000:
- return B500000;
- case 576000:
-@@ -135,6 +136,7 @@ int uart_speed(int s)
- case 4000000:
- return B4000000;
- #endif
-+#endif
- default:
- return B57600;
- }
+--- bluez-5.40.orig/tools/hciattach.c 2016-05-26 18:51:11.000000000 +0200
++++ bluez-5.40/tools/hciattach.c 2016-06-18 23:26:52.616003343 +0200
+@@ -1090,6 +1090,9 @@ struct uart_t uart[] = {
+ { "bcm43xx", 0x0000, 0x0000, HCI_UART_H4, 115200, 3000000,
+ FLOW_CTL, DISABLE_PM, NULL, bcm43xx, NULL },
+
++ { "bcm43xx-3wire", 0x0000, 0x0000, HCI_UART_3WIRE, 115200, 3000000,
++ 0, DISABLE_PM, NULL, bcm43xx, NULL },
++
+ { "ath3k", 0x0000, 0x0000, HCI_UART_ATH3K, 115200, 115200,
+ FLOW_CTL, DISABLE_PM, NULL, ath3k_ps, ath3k_pm },
+
+@@ -1236,7 +1239,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;