Bluetooth: Disallow LE local out-of-band data when LE privacy is used
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 2 Apr 2015 19:00:58 +0000 (12:00 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 2 Apr 2015 19:18:58 +0000 (22:18 +0300)
commite213568ad6b06ac828fe2a050fe4ec7b69f09f37
tree38de9e06934e8ba3bcc2c26d1db0e7dff7cad63e
parent1b9441f8ec426223f6f54f2af10ee01c8b743e5b
Bluetooth: Disallow LE local out-of-band data when LE privacy is used

When the LE pivacy feature is used, then pairing has to happen based
on resolvable random addresses (RPA), but currently there is no clean
way to retrieve the correct RPA. So instead of returning an outdated
RPA, just disallow this command when LE privacy is in use.

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