commit | d25b78e2ed60ea33dc1008d0f50b3410b73212a0 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Tue Jan 27 12:55:52 2015 +0200 |
committer | Marcel Holtmann <marcel@holtmann.org> | Wed Jan 28 21:26:19 2015 +0100 |
tree | 48a49a400c587df4122eee8ffb244bc3b576d048 | |
parent | cda0dd7809f89e8d7f88335690d84b8482d33111 [diff] |
Bluetooth: Enforce zero-valued hash/rand192 for LE OOB Until legacy SMP OOB pairing is implemented user space should be given a clear error when trying to use it. This patch adds a corresponding check to the Add Remote OOB Data handler function which returns "invalid parameters" if non-zero Rand192 or Hash192 parameters were given for an LE address. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>