OSDN Git Service

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)
commitd9483943601ba7095af42a159faacf7746a74bc9
treea42c4f5089071019bf70a63da028f763b965ffc4
parent8f2a0601a5d68d0dbd2221613dda7fb6fee32a6b
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