Bluetooth: Add a new HCI_USE_DEBUG_KEYS flag
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 24 Jun 2014 11:00:27 +0000 (14:00 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Jul 2014 15:42:46 +0000 (17:42 +0200)
commit3769972badcd542913c460ca2834312cdff9f16c
tree3a9d1dde744e33b909ecd75372bbf4c8175360bd
parent58e9293c4e18b9b5f52822e7cbce589c70920721
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>
include/net/bluetooth/hci.h
net/bluetooth/mgmt.c