]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix encryption key size for peripheral role
authorAndre Guedes <andre.guedes@openbossa.org>
Wed, 31 Jul 2013 19:25:29 +0000 (16:25 -0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 16 Sep 2013 17:36:56 +0000 (14:36 -0300)
commit69bec3399b4620482997bdf5716f402b8339daab
tree2ab1194ca0171dda21f950d198e14072f9d48419
parentac5dd490c3d5dbc19396639a09d8de52d5145ca0
Bluetooth: Fix encryption key size for peripheral role

This patch fixes the connection encryption key size information when
the host is playing the peripheral role. We should set conn->enc_key_
size in hci_le_ltk_request_evt, otherwise it is left uninitialized.

Cc: Stable <stable@vger.kernel.org>
Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/hci_event.c