commit | 8f2a0601a5d68d0dbd2221613dda7fb6fee32a6b | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Sun Feb 23 19:42:23 2014 +0200 |
committer | Marcel Holtmann <marcel@holtmann.org> | Sun Feb 23 12:24:26 2014 -0800 |
tree | 13d963eed1cd1450471c9828f0432b07d4e26563 | |
parent | 85030be4c5ce39e709b2cb5d4f8ee8779af8e50b [diff] |
Bluetooth: Use hci_update_random_address() for enabling advertising When we enable advertising we need to update the local random address if necessary. This patch takes advantage of the hci_update_random_address() function to set the own_address_type variable 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>