]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix BT_SECURITY socket option for fixed channels (ATT)
authorJohan Hedberg <johan.hedberg@intel.com>
Sat, 25 Jan 2014 22:10:07 +0000 (17:10 -0500)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 13 Feb 2014 07:51:37 +0000 (09:51 +0200)
commitd0ab8e75515048616454e958bbcc799376801863
tree365e2b52b8fb9fa207fe260b71a3b631e294db1f
parenta357caff9235b32a392bf28e543c46db4ad1845f
Bluetooth: Fix BT_SECURITY socket option for fixed channels (ATT)

The BT_SECURITY option should also be allowed for fixed channels, so
punch the appropriate hole for it when checking for the channel type.
The main user of fixed CID user space sockets is right now ATT (which is
broken without this patch).

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