Bluetooth: Enforce zero-valued hash/rand192 for LE OOB
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 27 Jan 2015 10:55:52 +0000 (12:55 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 28 Jan 2015 20:26:19 +0000 (21:26 +0100)
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>

No differences found