Bluetooth: Allow 3D profile to use security mode 4 level 0
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 12 Oct 2013 14:19:32 +0000 (07:19 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Sat, 12 Oct 2013 14:30:42 +0000 (17:30 +0300)
commit3124b84309a0699c98bdc0ef1fc8cd5e058ad5fa
treefe889b835af2faa61b461ca4b292f54d26563179
parent6a974b50a1b0909803faac3c3228f7c1339d9971
Bluetooth: Allow 3D profile to use security mode 4 level 0

The PSM 0x0021 is dedicated to the 3D profile and has permission to
use security mode 4 level 0 for L2CAP connectionless unicast data
transfers.

When establishing a L2CAP connectionless channel on PSM 0x0021, it
will no longer force Secure Simple Pairing.

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