]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Use hci_update_random_address() for initiating LE scan
authorJohan Hedberg <johan.hedberg@intel.com>
Sun, 23 Feb 2014 17:42:24 +0000 (19:42 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 23 Feb 2014 20:24:26 +0000 (12:24 -0800)
commit05a4e292af6bb2fb4bd314a3e4fa2abdd34b70b3
treea42c4f5089071019bf70a63da028f763b965ffc4
parent456ca98de6fa0e714bd69d1d70503de973a532b2
Bluetooth: Use hci_update_random_address() for initiating LE scan

When we start LE scanning we need to update the local random address if
necessary. This patch updates the code to use hci_update_random_address()
for setting the own_address_type scan parameter and updating 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/mgmt.c