commit | 255c76014af74165428e7aa16414b857e2bdccf2 | [log] [tgz] |
---|---|---|
author | Marcel Holtmann <marcel@holtmann.org> | Wed Feb 04 21:07:19 2009 +0100 |
committer | Marcel Holtmann <marcel@holtmann.org> | Fri Feb 27 06:14:36 2009 +0100 |
tree | 6c13e5413ce88e80780b02c80be00341db68cb78 | |
parent | 43c2e57f94c15744495fee564610aa24602b3824 [diff] |
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: Marcel Holtmann <marcel@holtmann.org>