diff options
author | Johan Hedberg | 2014-11-13 09:55:17 +0100 |
---|---|---|
committer | Marcel Holtmann | 2014-11-15 01:46:49 +0100 |
commit | fa37c1aa30e538329b64dd55f401334f4bff47f5 (patch) | |
tree | 308b45076f7c0f0600ab97c51d5e474759fc4a20 /lib/memweight.c | |
parent | Bluetooth: hidp: replace kzalloc/copy_from_user by memdup_user (diff) | |
download | kernel-qcow2-linux-fa37c1aa30e538329b64dd55f401334f4bff47f5.tar.gz kernel-qcow2-linux-fa37c1aa30e538329b64dd55f401334f4bff47f5.tar.xz kernel-qcow2-linux-fa37c1aa30e538329b64dd55f401334f4bff47f5.zip |
Bluetooth: Fix sending incorrect LE CoC PDU in BT_CONNECT2 state
For LE CoC L2CAP servers we don't do security level elevation during the
BT_CONNECT2 state (instead LE CoC simply sends an immediate error
response if the security level isn't high enough). Therefore if we get a
security level change while an LE CoC channel is in the BT_CONNECT2
state we should simply do nothing.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'lib/memweight.c')
0 files changed, 0 insertions, 0 deletions