Bluetooth: Use random address if public address is not available
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 6 Oct 2013 09:08:36 +0000 (02:08 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 6 Oct 2013 09:13:11 +0000 (11:13 +0200)
commitc25dfc610b983f74f05b3c12d9ad4ff4af6cd858
tree4f763221a6fd8917613dd78ea4e1f2c2e301879c
parente8803534a03ddfcb37bd3d6cb981c5131a5bd993
Bluetooth: Use random address if public address is not available

For single mode LE-only controllers, it is possible that they come
without a public address. If a public address is not available,
then use the random address for connection establishment and
scanning.

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