Bluetooth: Limit security mode 4 level 0 to connection oriented channels
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 12 Oct 2013 14:19:31 +0000 (07:19 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Sat, 12 Oct 2013 14:29:39 +0000 (17:29 +0300)
commit6a974b50a1b0909803faac3c3228f7c1339d9971
tree6ba32edfe0246d7e092bb3d0d31a64e615ccf289
parent43b1b8dfb4fa326d89aa5930f88b943cc410cbfa
Bluetooth: Limit security mode 4 level 0 to connection oriented channels

The exception for certain PSM channels when it comes to security
mode 4 level 0 should only be checked when actually a connection
oriented channel is established.

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