summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-02-22 11:58:37 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-23 13:06:58 +0200
commit47990ea09d393da8fb6cf284f4dba704c3661973 (patch)
tree60cdfa2ffaacebc6a715262147237a6f35ddae7d /include/net/bluetooth
parent2e0052e4cf78e3e205e92d82ee572ed726e315d6 (diff)
downloadlinux-47990ea09d393da8fb6cf284f4dba704c3661973.tar.gz
linux-47990ea09d393da8fb6cf284f4dba704c3661973.tar.bz2
linux-47990ea09d393da8fb6cf284f4dba704c3661973.zip
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>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r--include/net/bluetooth/hci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
index 169d2f8cc4ee..806eb4120797 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -98,6 +98,7 @@ enum {
HCI_HS_ENABLED,
HCI_CONNECTABLE,
HCI_DISCOVERABLE,
+ HCI_LINK_SECURITY,
};
/* HCI ioctl defines */