]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add confirm_hint parameter to user confirmation requests
authorJohan Hedberg <johan.hedberg@nokia.com>
Thu, 28 Apr 2011 18:28:56 +0000 (11:28 -0700)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 28 Apr 2011 19:13:57 +0000 (16:13 -0300)
commit4e76c90d3d54767c06c914765dc8c1cfe58ab3f7
tree06da1dd02bc268f6d375c4b1992a9e00ca0c3091
parent844f40904d2f78ec8fca2aba189eccb39275f637
Bluetooth: Add confirm_hint parameter to user confirmation requests

When accepting a pairing request which fulfills the SSP auto-accept
criteria we need to push the request all the way to the user for
confirmation. This patch adds a new hint to the user_confirm_request
management event so user space can know when to show a numeric
comparison dialog and when to show a simple yes/no confirmation dialog.

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