summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2014-04-11 19:02:32 (GMT)
committerJohan Hedberg <johan.hedberg@intel.com>2014-04-25 06:47:15 (GMT)
commit09da1f3463eb81d59685df723b1c5950b7570340 (patch)
tree2c560f00ea66e3afbeda943c264ea5f65ca59a4a /include
parent9eb1fbfa0a737fd4d3a6d12d71c5ea9af622b887 (diff)
downloadlinux-09da1f3463eb81d59685df723b1c5950b7570340.tar.xz
Bluetooth: Fix redundant encryption request for reauthentication
When we're performing reauthentication (in order to elevate the security level from an unauthenticated key to an authenticated one) we do not need to issue any encryption command once authentication completes. Since the trigger for the encryption HCI command is the ENCRYPT_PEND flag this flag should not be set in this scenario. Instead, the REAUTH_PEND flag takes care of all necessary steps for reauthentication. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Cc: stable@vger.kernel.org
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions