summaryrefslogtreecommitdiffstats
path: root/tools/hciattach.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/hciattach.c')
-rw-r--r--tools/hciattach.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/hciattach.c b/tools/hciattach.c
index 3e8be20a..50432ec3 100644
--- a/tools/hciattach.c
+++ b/tools/hciattach.c
@@ -640,7 +640,7 @@ static int csr(int fd, struct uart_t *u, struct termios *ti)
static int swave(int fd, struct uart_t *u, struct termios *ti)
{
struct timespec tm = {0, 500000};
- char cmd[9], rsp[100];
+ char cmd[10], rsp[100];
int r;
// Silicon Wave set baud rate command