summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/hciattach.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/hciattach.c b/tools/hciattach.c
index d59992e1..ac94c41e 100644
--- a/tools/hciattach.c
+++ b/tools/hciattach.c
@@ -908,8 +908,10 @@ int init_uart(char *dev, struct uart_t *u, int send_break)
tcflush(fd, TCIOFLUSH);
- if (send_break)
+ if (send_break) {
tcsendbreak(fd, 0);
+ usleep(500000);
+ }
if (u->init && u->init(fd, u, &ti) < 0)
return -1;