]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Restrict ioctls to HCI raw channel sockets
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 26 Aug 2013 16:39:55 +0000 (09:39 -0700)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 16 Sep 2013 17:35:55 +0000 (14:35 -0300)
commit782aab475a0ca202cb933b0a81cf3dfb8f54a15f
tree10d24a5ffcadbe0aa3bf52f19ffff7fe3d446868
parent1e6a1effa0f394323486be1b1c1011961eef7da1
Bluetooth: Restrict ioctls to HCI raw channel sockets

The various legacy ioctls used with HCI sockets are limited to raw
channel only. They are not used on the other channels and also have
no meaning there. So return an error if tried to use them.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/hci_sock.c