summaryrefslogtreecommitdiffstats
path: root/tools/hciattach.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2004-05-12 13:47:19 +0000
committerMarcel Holtmann <marcel@holtmann.org>2004-05-12 13:47:19 +0000
commit0a61c1514914951ff94e1228e8031737cc423e41 (patch)
treea208bf3f47735f722c6f0643dc8041006af4cf0c /tools/hciattach.c
parent052d647c87405e41604245f2afaee1652457b508 (diff)
Use 10 characters array in swave() routine
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