]> git.karo-electronics.de Git - linux-beck.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)
commit63c7d09cd52fe23ad2baee26bcc10a590944cfa4
tree0d9d12e077f2f9612c6736fad45a69fda4b182d5
parent47731de789749c9ed3c54751db28fd9c9eeaf019
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