]> 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)
commite86bdd5994c5bf8f89e8f209aa06db07ca95d980
tree0d4f552bfc5c51326933b8bcf9ac20d8453b0675
parente89ca6db33a6676e59a2146f7ece3c36010e0b16
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