Bluetooth: mgmt: Implement support for passkey notification
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 6 Sep 2012 15:39:26 +0000 (18:39 +0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 19 Sep 2012 01:27:29 +0000 (22:27 -0300)
commit92a25256f142d55e25f9959441cea6ddeabae57e
treeeb276a7076d59e7d29f14139b3993d441c3ea0fd
parent5ad777958621524b48d1bdf4aaf3b26a363d4553
Bluetooth: mgmt: Implement support for passkey notification

This patch adds support for Secure Simple Pairing with devices that have
KeyboardOnly as their IO capability. Such devices will cause a passkey
notification on our side and optionally also keypress notifications.
Without this patch some keyboards cannot be paired using the mgmt
interface.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Cc: stable@vger.kernel.org
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
include/net/bluetooth/hci.h
include/net/bluetooth/hci_core.h
include/net/bluetooth/mgmt.h
net/bluetooth/hci_event.c
net/bluetooth/mgmt.c