summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2014-06-05 11:19:54 +0200
committerMarcel Holtmann <marcel@holtmann.org>2014-06-13 13:30:37 +0200
commitb62b65055bcc5372d5c3f4103629176cb8db3678 (patch)
tree3f1b6e52c282a7bf2bc7eeeef174c732f702f195 /init
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next (diff)
downloadlinux-b62b65055bcc5372d5c3f4103629176cb8db3678.tar.xz
linux-b62b65055bcc5372d5c3f4103629176cb8db3678.zip
Bluetooth: Fix incorrectly overriding conn->src_type
The src_type member of struct hci_conn should always reflect the address type of the src_member. It should never be overridden. There is already code in place in the command status handler of HCI_LE_Create_Connection to copy the right initiator address into conn->init_addr_type. Without this patch, if privacy is enabled, we will send the wrong address type in the SMP identity address information PDU (it'll e.g. contain our public address but a random address type). 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 'init')
0 files changed, 0 insertions, 0 deletions