From 3aa6a3e9a775e1d143d3640fe7f3ced170bb71b9 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Mon, 11 Oct 2004 13:59:57 +0000 Subject: Sleep some time after sending break --- tools/hciattach.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- cgit