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 20:14:56 +0200
commita55e1f388767116836d32457a50eda7da3e925e5 (patch)
treeaf1e150006d5799ee3114ab78a7cf56af57d0256 /drivers/bluetooth/hci_uart.h
parent28b8df77449faa03b573638e089a855f8d25e0ed (diff)
downloadop-kernel-dev-a55e1f388767116836d32457a50eda7da3e925e5.zip
op-kernel-dev-a55e1f388767116836d32457a50eda7da3e925e5.tar.gz
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 99fb352..54c8983 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;
OpenPOWER on IntegriCloud