]> 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)
commitad27ce0ef89647869fc9918d24237fa7eef99a10
tree10d24a5ffcadbe0aa3bf52f19ffff7fe3d446868
parent3c413092f75a02e2e0cf9c22a54119b124f8888c
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