Hi Johan,
This patch makes it possible to change the Link Security setting while
powered off and have it automatically enabled when powering on a device.
To track the desired state once powered on a new HCI_LINK_SECURITY flag
is added.
Signed-off-by: Johan Hedberg <redacted>
---
include/net/bluetooth/hci.h | 1 +
net/bluetooth/hci_event.c | 6 ++++++
net/bluetooth/mgmt.c | 33 ++++++++++++++++++++++++++++-----
3 files changed, 35 insertions(+), 5 deletions(-)
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Regards
Marcel