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)
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

Simple merge
Simple merge