summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/hci_uart.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-02-24 17:12:24 +0100
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-24 19:14:56 +0100
commita55e1f388767116836d32457a50eda7da3e925e5 (patch)
treeaf1e150006d5799ee3114ab78a7cf56af57d0256 /drivers/bluetooth/hci_uart.h
parentBluetooth: Fix init request completion with AMP controllers (diff)
downloadlinux-a55e1f388767116836d32457a50eda7da3e925e5.tar.xz
linux-a55e1f388767116836d32457a50eda7da3e925e5.zip
Bluetooth: Allow HCI UART reset parameter via flags ioctl
The flags ioctl for HCI UART drivers already allows setting of certain Bluetooth core quirks. The reset parameter fits right in here. So allow this as well. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'drivers/bluetooth/hci_uart.h')
-rw-r--r--drivers/bluetooth/hci_uart.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bluetooth/hci_uart.h b/drivers/bluetooth/hci_uart.h
index 99fb35239d1f..54c8983b183e 100644
--- a/drivers/bluetooth/hci_uart.h
+++ b/drivers/bluetooth/hci_uart.h
@@ -45,6 +45,7 @@
#define HCI_UART_ATH3K 5
#define HCI_UART_RAW_DEVICE 0
+#define HCI_UART_RESET_ON_INIT 1
struct hci_uart;