]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Set general bonding security for ACL by default
authorAndrei Emeltchenko <andrei.emeltchenko@nokia.com>
Thu, 3 Sep 2009 09:34:19 +0000 (12:34 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 16 Nov 2009 00:30:28 +0000 (01:30 +0100)
commitca11fd28b18fa6e5f1077de739b69eae82794ee4
tree5635759dd469fffb423b3cb7ddaa13adfbfbff24
parent84197a6c015bf7093f9db8848b57191a46ff0f06
Bluetooth: Set general bonding security for ACL by default

This patch fixes double pairing issues with Secure Simple
Paring support. It was observed that when pairing with SSP
enabled, that the confirmation will be asked twice.

http://www.spinics.net/lists/linux-bluetooth/msg02473.html

This also causes bug when initiating SSP connection from
Windows Vista.

The reason is because bluetoothd does not store link keys
since HCIGETAUTHINFO returns 0. Setting default to general
bonding fixes these issues.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@nokia.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_conn.c