summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-07-10 02:24:46 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-07-10 02:24:46 +0000
commitc24fa29e216026c41a14a89690002f45d8031e86 (patch)
tree4ffdc924f051c828bf50a068ed02b5550cba44e3 /tools
parentaae0052a3630f3c3e665f1f2ae954e2a60b40103 (diff)
Mention the broken bgb2xx init routine
Diffstat (limited to 'tools')
-rw-r--r--tools/hciattach.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/hciattach.c b/tools/hciattach.c
index 36f3c72b..0210519e 100644
--- a/tools/hciattach.c
+++ b/tools/hciattach.c
@@ -897,7 +897,11 @@ static int stlc2500(int fd, struct uart_t *u, struct termios *ti)
return stlc2500_init(fd, &bdaddr);
}
-extern int bgb2xx_init(int fd, bdaddr_t *bdaddr);
+static int bgb2xx_init(int fd, bdaddr_t *bdaddr)
+{
+ /* This is broken and the routine got lost somewhere */
+ return -EIO;
+}
static int bgb2xx(int fd, struct uart_t *u, struct termios *ti)
{