]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Reintroduce socket restrictions for LE sockets
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 16 Oct 2013 14:13:26 +0000 (17:13 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 16 Oct 2013 14:35:40 +0000 (07:35 -0700)
commitcd2c05475acafe492745dceb0b2daab0ea5bbfdf
tree6ff2c46c6794f29df2425462224005fb52c87583
parent8dd3465735de28f50c088282c892cafa0320e23e
Bluetooth: Reintroduce socket restrictions for LE sockets

Right now we do not allow user space to use connection oriented channels
on LE, and the only CID that can be used is the Attribute Protocol one.
These restrictions went away together with the recent refactoring of the
L2CAP code, but this patch puts them back to their appropriate places.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap_sock.c