]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Use connection address for reporting connection failures
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 18 Feb 2014 22:22:20 +0000 (14:22 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 19 Feb 2014 04:08:47 +0000 (06:08 +0200)
commit511e2613b3fd592281e5d1f5fdc0cf632c67dc47
tree7cfe45cc06d170232433b2585b460dad79a6085e
parentf61badb0f040704536e393d1056e9a1712ea139a
Bluetooth: Use connection address for reporting connection failures

When reporting connect failed events to userspace, use the address
of the connection and not the address from the HCI event.

This change is strictly speaking not needed since BR/EDR does not
have the concept of resolvable random addresses. It is more for
making the code consistent.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_event.c