Bluetooth: mgmt: Make Set Link Security callable while powered off
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 22 Feb 2012 09:58:37 +0000 (11:58 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 23 Feb 2012 11:06:58 +0000 (13:06 +0200)
commit47990ea09d393da8fb6cf284f4dba704c3661973
tree60cdfa2ffaacebc6a715262147237a6f35ddae7d
parent2e0052e4cf78e3e205e92d82ee572ed726e315d6
Bluetooth: mgmt: Make Set Link Security callable while powered off

This patch makes it possible to change the Link Security setting while
powered off and have it automatically enabled when powering on a device.
To track the desired state once powered on a new HCI_LINK_SECURITY flag
is added.

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