]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Use unresolvable private address for active scanning
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 24 Feb 2014 04:25:54 +0000 (20:25 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 24 Feb 2014 06:45:58 +0000 (08:45 +0200)
commit37d61ae6d1018acfb6d55d6177787ef0129609a9
tree6288fa61c03d3139540e007ccdb2fa6c9d30dbbf
parentc2ff844ffb523146d6b742116a05e103941021e5
Bluetooth: Use unresolvable private address for active scanning

When running active scanning during LE discovery, do not reveal the own
identity to the peer devices. In case LE privacy has been enabled, then
a resolvable private address is used. If the LE privacy option is off,
then use an unresolvable private address.

The public address or static random address is never used in active
scanning anymore. This ensures that scan request are send using a
random address.

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