Skip to content
Commit 255c7601 authored by Marcel Holtmann's avatar Marcel Holtmann
Browse files

Bluetooth: Don't check encryption for L2CAP raw sockets



For L2CAP sockets with medium and high security requirement a missing
encryption will enforce the closing of the link. For the L2CAP raw
sockets this is not needed, so skip that check.

This fixes a crash when pairing Bluetooth 2.0 (and earlier) devices
since the L2CAP state machine got confused and then locked up the whole
system.

Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 43c2e57f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment