aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-02-21 09:01:30 -0500
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-21 13:04:39 -0500
commit5e5282bbfde9ca6157dba913d90cbab859a837e2 (patch)
tree202265653320550db8c7aea3087bb5cfc8ca032e /include/net/bluetooth
parent0cbf4ed6e6f43ac399afefdd14a1ee86db8de7d0 (diff)
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/net/bluetooth')
-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 ec370494e568..169d2f8cc4ee 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -96,6 +96,8 @@ enum {
96 HCI_LE_SCAN, 96 HCI_LE_SCAN,
97 HCI_SSP_ENABLED, 97 HCI_SSP_ENABLED,
98 HCI_HS_ENABLED, 98 HCI_HS_ENABLED,
99 HCI_CONNECTABLE,
100 HCI_DISCOVERABLE,
99}; 101};
100 102
101/* HCI ioctl defines */ 103/* HCI ioctl defines */