1
0

003-Increase-firmware-load-timeout-to-30s.patch 557 B

1234567891011121314151617181920
  1. From d41dc2046dd08d8c95197f677e224506f5b39bdd Mon Sep 17 00:00:00 2001
  2. From: Phil Elwell <phil@raspberrypi.org>
  3. Date: Wed, 20 Jan 2016 16:00:37 +0000
  4. Subject: [PATCH 3/4] Increase firmware load timeout to 30s
  5. ---
  6. tools/hciattach.c | 2 +-
  7. 1 file changed, 1 insertion(+), 1 deletion(-)
  8. --- a/tools/hciattach.c
  9. +++ b/tools/hciattach.c
  10. @@ -1293,7 +1293,7 @@ int main(int argc, char *argv[])
  11. {
  12. struct uart_t *u = NULL;
  13. int detach, printpid, raw, opt, i, n, ld, err;
  14. - int to = 10;
  15. + int to = 30;
  16. int init_speed = 0;
  17. int send_break = 0;
  18. pid_t pid;