Bluetooth: Use privacy mode for non-connectable advertising
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 24 Feb 2014 04:25:55 +0000 (20:25 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 24 Feb 2014 06:48:02 +0000 (08:48 +0200)
commit41c90c186a3b51207cb1f2583fbadec3c76e4730
treee992a3dfd81778e9219acc06b1276aa402899561
parent94b1fc92cd7cf550460ffd4bcc08c2707564aa49
Bluetooth: Use privacy mode for non-connectable advertising

When enabling non-connectable advertising, there is no need to advertise
with a public address or static address. In case LE privacy has not been
enabled a unresolvable private address will be used.

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