summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLoic Poulain <loic.poulain@intel.com>2016-09-20 09:10:18 +0200
committerMarcel Holtmann <marcel@holtmann.org>2016-09-26 09:15:30 +0200
commit087403e6b6c703959b7dc70590707aa1a84ba58a (patch)
tree18481025145cd9ae259ec95615eb87a159fd2556 /tools
parent3d117bc965529e2729fd54249f51a0b66bead17b (diff)
downloadbluez-087403e6b6c703959b7dc70590707aa1a84ba58a.tar.gz
tools: Add identifier for Nokia UART devices
Diffstat (limited to 'tools')
-rw-r--r--tools/btattach.c1
-rw-r--r--tools/hciattach.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/tools/btattach.c b/tools/btattach.c
index 30d5d52fc..44747c4cc 100644
--- a/tools/btattach.c
+++ b/tools/btattach.c
@@ -218,6 +218,7 @@ static const struct {
{ "bcm", HCI_UART_BCM },
{ "qca", HCI_UART_QCA },
{ "ag6xx", HCI_UART_AG6XX },
+ { "nokia", HCI_UART_NOKIA },
{ }
};
diff --git a/tools/hciattach.h b/tools/hciattach.h
index 3d25f59ab..1709253f9 100644
--- a/tools/hciattach.h
+++ b/tools/hciattach.h
@@ -43,6 +43,7 @@
#define HCI_UART_BCM 7
#define HCI_UART_QCA 8
#define HCI_UART_AG6XX 9
+#define HCI_UART_NOKIA 10
#define HCI_UART_RAW_DEVICE 0
#define HCI_UART_RESET_ON_INIT 1