Bluetooth: Add management command for enabling Secure Connections
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 10 Jan 2014 10:07:23 +0000 (02:07 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 13 Feb 2014 07:51:32 +0000 (09:51 +0200)
commiteac83dc632a7afba72f7084266bc310219486253
tree42a58e9bad2e9c0eec318f6f21d59a870d7f57df
parente98d2ce293a941d41b5c8435975ff25a1b858bf9
Bluetooth: Add management command for enabling Secure Connections

The support for Secure Connections need to be explicitly enabled by
userspace. This is required since only userspace that can handle the
new link key types should enable support for Secure Connections.

This command handling is similar to how Secure Simple Pairing enabling
is done. It also tracks the case when Secure Connections support is
enabled via raw HCI commands. This makes sure that the host features
page is updated as well.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
include/net/bluetooth/hci_core.h
include/net/bluetooth/mgmt.h
net/bluetooth/hci_event.c
net/bluetooth/mgmt.c