Bluetooth: Add automated SSP user confirmation responses
authorJohan Hedberg <johan.hedberg@nokia.com>
Thu, 28 Apr 2011 18:28:53 +0000 (11:28 -0700)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 28 Apr 2011 19:02:25 +0000 (16:02 -0300)
commit7a828908a026d801c6192fd32cfb35d6843f1539
tree8c78e5c259afd46a055a77c276bf3f3518d495ef
parenta770bb5aea84ee2509d4775f9959665f96da3b9d
Bluetooth: Add automated SSP user confirmation responses

This patch adds automated negative and positive (auto-accept) responses
for Secure Simple Pairing user confirmation requests. The responses are
only sent if the HCI_MGMT flag is set in order not to confuse older user
space versions (without management interface support).

Signed-off-by: Johan Hedberg <johan.hedberg@nokia.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/hci_event.c