summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2014-06-24 13:00:27 +0200
committerMarcel Holtmann <marcel@holtmann.org>2014-07-03 17:42:46 +0200
commit3769972badcd542913c460ca2834312cdff9f16c (patch)
tree3a9d1dde744e33b909ecd75372bbf4c8175360bd /include
parentBluetooth: Fix ignoring debug keys in mgmt_load_link_keys (diff)
downloadlinux-3769972badcd542913c460ca2834312cdff9f16c.tar.xz
linux-3769972badcd542913c460ca2834312cdff9f16c.zip
Bluetooth: Add a new HCI_USE_DEBUG_KEYS flag
To pave the way for actively using debug keys for pairing this patch adds a new HCI_USE_DEBUG_KEYS flag for the purpose. When the flag is set we issue a HCI_Write_SSP_Debug mode whenever HCI_Write_SSP_Mode(0x01) has been issued as well as before issuing a HCI_Write_SSP_Mode(0x00) command. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include')
-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 ffb489e3946d..cc2e88dd20ea 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -125,6 +125,7 @@ enum {
HCI_PAIRABLE,
HCI_SERVICE_CACHE,
HCI_KEEP_DEBUG_KEYS,
+ HCI_USE_DEBUG_KEYS,
HCI_UNREGISTER,
HCI_USER_CHANNEL,