summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/bluetooth.h1
-rw-r--r--include/hci.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/bluetooth.h b/include/bluetooth.h
index 441e1d3a..5dd4085f 100644
--- a/include/bluetooth.h
+++ b/include/bluetooth.h
@@ -35,6 +35,7 @@ extern "C" {
#include <stdint.h>
#include <endian.h>
+#include <byteswap.h>
#ifndef AF_BLUETOOTH
#define AF_BLUETOOTH 31
diff --git a/include/hci.h b/include/hci.h
index 3f98ab1d..38060fb8 100644
--- a/include/hci.h
+++ b/include/hci.h
@@ -33,7 +33,7 @@
extern "C" {
#endif
-#define HCI_MAX_DEV 4
+#define HCI_MAX_DEV 16
#define HCI_MAX_ACL_SIZE 1024
#define HCI_MAX_SCO_SIZE 255