diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2012-10-11 16:26:06 +0200 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2012-10-12 17:55:20 +0800 |
commit | 065a13e2cc665f6547dc7e8a9d6b6565badf940a (patch) | |
tree | 5c115c05826940ad19a77a1c211792413105fc98 /net/ipx | |
parent | a7be50b7e30f9d77cb059a7ffdb781bb0fb92eba (diff) | |
download | talos-obmc-linux-065a13e2cc665f6547dc7e8a9d6b6565badf940a.tar.gz talos-obmc-linux-065a13e2cc665f6547dc7e8a9d6b6565badf940a.zip |
Bluetooth: SMP: Fix setting unknown auth_req bits
When sending a pairing request or response we should not just blindly
copy the value that the remote device sent. Instead we should at least
make sure to mask out any unknown bits. This is particularly critical
from the upcoming LE Secure Connections feature perspective as
incorrectly indicating support for it (by copying the remote value)
would cause a failure to pair with devices that support it.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Cc: stable@kernel.org
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'net/ipx')
0 files changed, 0 insertions, 0 deletions