Bluetooth: hci_uart: Add Nokia Protocol identifier [Linux 4.9]

This Linux kernel change "Bluetooth: hci_uart: Add Nokia Protocol identifier" is included in the Linux 4.9 release. This change is authored by Loic Poulain <loic.poulain [at] intel.com> on Mon Sep 19 11:32:35 2016 +0200. The commit for this change in Linux stable tree is 9e69130 (patch).

Bluetooth: hci_uart: Add Nokia Protocol identifier

Will be used by hci_nokia extra protocol.

Signed-off-by: Loic Poulain <loic.poulain@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>

There are 3 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 drivers/bluetooth/hci_uart.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/bluetooth/hci_uart.h b/drivers/bluetooth/hci_uart.h
index 839bad1..22b7c58 100644
--- a/drivers/bluetooth/hci_uart.h
+++ b/drivers/bluetooth/hci_uart.h
@@ -35,7 +35,7 @@
 #define HCIUARTGETFLAGS        _IOR('U', 204, int)

 /* UART protocols */
-#define HCI_UART_MAX_PROTO 10
+#define HCI_UART_MAX_PROTO 11

 #define HCI_UART_H4    0
 #define HCI_UART_BCSP  1
@@ -47,6 +47,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

Leave a Reply

Your email address will not be published. Required fields are marked *