]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix authentication requirements for L2CAP security check
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 12 Feb 2009 15:19:45 +0000 (16:19 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 27 Feb 2009 05:14:43 +0000 (06:14 +0100)
commit6563b941f8ef47d2c5e7e7e18bafcc81e8997413
tree616da6330e5b9ca7448234fbd588c536da165d11
parent0f4e0f74121c72a2758494b8be2a1664d9588e61
Bluetooth: Fix authentication requirements for L2CAP security check

The L2CAP layer can trigger the authentication via an ACL connection or
later on to increase the security level. When increasing the security
level it didn't use the same authentication requirements when triggering
a new ACL connection. Make sure that exactly the same authentication
requirements are used. The only exception here are the L2CAP raw sockets
which are only used for dedicated bonding.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap.c