summaryrefslogtreecommitdiff
path: root/crypto/algboss.c
diff options
context:
space:
mode:
authorJakub Pawlowski <jpawlowski@google.com>2015-08-05 23:16:29 +0200
committerMarcel Holtmann <marcel@holtmann.org>2015-08-06 16:36:03 +0200
commitcb92205bad2e4dd630b884142dd707b72504c200 (patch)
tree371ddbd460af2d2d291d52d7c086a4251059f197 /crypto/algboss.c
parent2475b22526d70234ecfe4a1ff88aed69badefba9 (diff)
downloadlwn-cb92205bad2e4dd630b884142dd707b72504c200.tar.gz
lwn-cb92205bad2e4dd630b884142dd707b72504c200.zip
Bluetooth: fix MGMT_EV_NEW_LONG_TERM_KEY event
This patch fixes how MGMT_EV_NEW_LONG_TERM_KEY event is build. Right now val vield is filled with only 1 byte, instead of whole value. This bug was introduced in commit 1fc62c526a57 ("Bluetooth: Fix exposing full value of shortened LTKs") Before that patch, if you paired with device using bluetoothd using simple pairing, and then restarted bluetoothd, you would be able to re-connect, but device would fail to establish encryption and would terminate connection. After this patch connecting after bluetoothd restart works fine. Signed-off-by: Jakub Pawlowski <jpawlowski@google.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'crypto/algboss.c')
0 files changed, 0 insertions, 0 deletions