summaryrefslogtreecommitdiff
path: root/net/bluetooth/hci_conn.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2013-01-27 14:32:00 (GMT)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>2013-02-01 17:50:18 (GMT)
commitf0ff92fbfa14c1cf8c0346f1dde9c3eda26d5abf (patch)
tree0fe912f4c5f6d64f9e08ee77e6daf36d5caa3a82 /net/bluetooth/hci_conn.c
parentc00d575bd550d3d57aeec2522defa0cea589560c (diff)
downloadlinux-fsl-qoriq-f0ff92fbfa14c1cf8c0346f1dde9c3eda26d5abf.tar.xz
Bluetooth: Fix link security setting when powering on
If a controller is powered on while the HCI_AUTO_OFF flag is set the link security setting (HCI_LINK_SECURITY) might not be in sync with the actual state of the controller (HCI_AUTH). This patch fixes the issue by checking for inequality between the intended and actual settings and sends a HCI_Write_Auth_Enable command if necessary. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'net/bluetooth/hci_conn.c')
0 files changed, 0 insertions, 0 deletions