]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix MITM protection requirement preservation
authorJohan Hedberg <johan.hedberg@nokia.com>
Wed, 19 Jan 2011 06:36:49 +0000 (12:06 +0530)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 19 Jan 2011 16:40:43 +0000 (14:40 -0200)
commit154ad3d66f8e690e6fcdcd50ff35fd04a87826a4
treee710dde434f53139dd11b9d61d5a0c33f17f1e3a
parent780ee6b66ab4f2b652833670551ac706aea98fb9
Bluetooth: Fix MITM protection requirement preservation

If an existing connection has a MITM protection requirement (the first
bit of the auth_type) then that requirement should not be cleared by new
sockets that reuse the ACL but don't have that requirement.

Signed-off-by: Johan Hedberg <johan.hedberg@nokia.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/hci_conn.c