]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Use hci_update_random_address() when connecting LE
authorJohan Hedberg <johan.hedberg@intel.com>
Sun, 23 Feb 2014 17:42:22 +0000 (19:42 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 23 Feb 2014 20:24:26 +0000 (12:24 -0800)
commitef54c9f450d39842b9c8d7fa00e0fbf6771fc311
tree0d4f552bfc5c51326933b8bcf9ac20d8453b0675
parenteac74feaac055107b8d29cdebcefd344926e672e
Bluetooth: Use hci_update_random_address() when connecting LE

When we initiate LE connections we need to update the local random
address if necessary. This patch updates the LE connection creation
mechanism to use the new hci_update_random_address() function to set the
own_address_type parameter and to update the local random address if
necessary.

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