patch-tools_hciattach_c 770 B

123456789101112131415161718192021
  1. --- bluez-5.40.orig/tools/hciattach.c 2016-05-26 18:51:11.000000000 +0200
  2. +++ bluez-5.40/tools/hciattach.c 2016-06-18 23:26:52.616003343 +0200
  3. @@ -1090,6 +1090,9 @@ struct uart_t uart[] = {
  4. { "bcm43xx", 0x0000, 0x0000, HCI_UART_H4, 115200, 3000000,
  5. FLOW_CTL, DISABLE_PM, NULL, bcm43xx, NULL },
  6. + { "bcm43xx-3wire", 0x0000, 0x0000, HCI_UART_3WIRE, 115200, 3000000,
  7. + 0, DISABLE_PM, NULL, bcm43xx, NULL },
  8. +
  9. { "ath3k", 0x0000, 0x0000, HCI_UART_ATH3K, 115200, 115200,
  10. FLOW_CTL, DISABLE_PM, NULL, ath3k_ps, ath3k_pm },
  11. @@ -1236,7 +1239,7 @@ int main(int argc, char *argv[])
  12. {
  13. struct uart_t *u = NULL;
  14. int detach, printpid, raw, opt, i, n, ld, err;
  15. - int to = 10;
  16. + int to = 30;
  17. int init_speed = 0;
  18. int send_break = 0;
  19. pid_t pid;