]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Move local identity address setting to a central place
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 24 Mar 2014 18:21:50 +0000 (20:21 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 26 Mar 2014 16:31:35 +0000 (09:31 -0700)
commit812cf13e2b06b6c1dddf612892712843985c39b2
tree467b0eb8a32f9d6316d16ddb10c219c099fe1195
parent413b9f09c80ae3654b59265791e44f5f834a20bf
Bluetooth: Move local identity address setting to a central place

Any time hci_conn_add is used for an LE connection we need to ensure
that the local identity address is correctly described in the src and
src_type variables. This patch moves setting these values directly into
hci_conn_add so that callers don't have to duplicate the effort
themselves.

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