]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit44794c31ec9b58b9155d208dd7cc54ba310a1d80
tree3a9d1dde744e33b909ecd75372bbf4c8175360bd
parentf4668aa8b4d94ac713f807e7a2dd58b2552a28e1
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