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)
commitbfe4655f05d7ec4a7c0c1c7e4051862f824cd8ec
tree6ff2c46c6794f29df2425462224005fb52c87583
parenteb438b5f3065dc270484919e8b88486d0cff59d3
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