Bluetooth: Add debugfs switch for forcing SMP over BR/EDR
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 16 Oct 2014 08:45:31 +0000 (10:45 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 3 Dec 2014 15:51:20 +0000 (16:51 +0100)
commit858cdc78be8be19b7176cafe06d3db3acfb345d4
tree938062d0fa29a9d7b07831b50011661cdc59af3a
parentfe8bc5ac67a36b05c4ec91643736d44373096a76
Bluetooth: Add debugfs switch for forcing SMP over BR/EDR

To make it possible to use LE SC functionality over BR/EDR with pre-4.1
controllers (that do not support BR/EDR SC links) it's useful to be able
to force LE SC operations even over a traditional SSP protected link.
This patch adds a debugfs switch to force a special debug flag which is
used to skip the checks for BR/EDR SC support.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci.h
net/bluetooth/hci_core.c