]> git.openfabrics.org - ~emulex/infiniband.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)
commit9c84d1da974ee8b54fa49ae369648a0247b7cd6f
tree467b0eb8a32f9d6316d16ddb10c219c099fe1195
parent4408dd15d9cfcf78b819d2d4a5b43dc36056cab8
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