Bluetooth: Add mgmt_auth_failed event
authorJohan Hedberg <johan.hedberg@nokia.com>
Sat, 19 Feb 2011 15:06:00 +0000 (12:06 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Mon, 21 Feb 2011 20:22:44 +0000 (17:22 -0300)
commit2a61169209c72317d4933f8d22f749a6a61a3d36
treed95e0016c704382f2f520ea6f3ac97d5a3b07ae4
parentac56fb13c0508181b4227b8ada6d47aaaf72794c
Bluetooth: Add mgmt_auth_failed event

To properly track bonding completion an event to indicate authentication
failure is needed. This event will be sent whenever an authentication
complete HCI event with a non-zero status comes. It will also be sent
when we're acting in acceptor role for SSP authentication in which case
the controller will send a Simple Pairing Complete event.

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