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)
commit89cbb4da0abee2f39d75f67f9fd57f7410c8b65c
tree2ab1194ca0171dda21f950d198e14072f9d48419
parentf8776218e8546397be64ad2bc0ebf4748522d6e3
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
This page took 0.031876 seconds and 5 git commands to generate.