]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add HCIUARTSETFLAGS and HCIUARTGETFLAGS ioctls
authorJohan Hedberg <johan.hedberg@nokia.com>
Mon, 12 Jul 2010 14:37:04 +0000 (11:37 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 21 Jul 2010 17:39:11 +0000 (10:39 -0700)
commit077cb22dfc655408c5d1bc95d6b1a11f5ad4b128
tree0d9d12e077f2f9612c6736fad45a69fda4b182d5
parent6ff0281d307787b13932d817055e607fc4b925f7
Bluetooth: Add HCIUARTSETFLAGS and HCIUARTGETFLAGS ioctls

This patch introduces two new ioctls: HCIUARTSETFLAGS and
HCIUARTGETFLAGS. The only flag available for now is HCI_UART_RAW_DEVICE
which allows to initialize a UART device into RAW mode from userspace.
This is particularly useful for experimenting with Bluetooth controllers
that don't yet have proper support in BlueZ.

Signed-off-by: Johan Hedberg <johan.hedberg@nokia.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_ldisc.c
drivers/bluetooth/hci_uart.h
fs/compat_ioctl.c