summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-02-21 16:01:30 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-21 20:04:39 +0200
commit5e5282bbfde9ca6157dba913d90cbab859a837e2 (patch)
tree202265653320550db8c7aea3087bb5cfc8ca032e /include
parent0cbf4ed6e6f43ac399afefdd14a1ee86db8de7d0 (diff)
downloadlinux-3.10-5e5282bbfde9ca6157dba913d90cbab859a837e2.tar.gz
linux-3.10-5e5282bbfde9ca6157dba913d90cbab859a837e2.tar.bz2
linux-3.10-5e5282bbfde9ca6157dba913d90cbab859a837e2.zip
Bluetooth: mgmt: Allow connectable/discoverable changes in off state
This patch makes it possible to toggle the connectable & discoverable settings when powered off. Two new hdev->dev_flags flags are added to track what the scan mode should be when the device is finally powered on. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include')
-rw-r--r--include/net/bluetooth/hci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
index ec370494e56..169d2f8cc4e 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -96,6 +96,8 @@ enum {
HCI_LE_SCAN,
HCI_SSP_ENABLED,
HCI_HS_ENABLED,
+ HCI_CONNECTABLE,
+ HCI_DISCOVERABLE,
};
/* HCI ioctl defines */