summaryrefslogtreecommitdiff
path: root/tools/hciattach.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/hciattach.h')
-rw-r--r--tools/hciattach.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/hciattach.h b/tools/hciattach.h
index 26c0d5424..dfa4c1e7a 100644
--- a/tools/hciattach.h
+++ b/tools/hciattach.h
@@ -40,6 +40,10 @@
#define HCI_UART_EXT_CONFIG 4
#define HCI_UART_VND_DETECT 5
+#ifndef FIRMWARE_DIR
+#define FIRMWARE_DIR "/etc/firmware"
+#endif
+
int read_hci_event(int fd, unsigned char *buf, int size);
int set_speed(int fd, struct termios *ti, int speed);
int uart_speed(int speed);