diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2014-06-01 09:45:24 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-30 20:13:59 -0700 |
commit | 087ad42b882be734e335a5534bb5987fda8aab1a (patch) | |
tree | 4f10a186fdc8832fe6fef02c0f16b1b0168be915 /lib/net_utils.c | |
parent | c714b3b6dbe642ee9c9e3c4d4696518aa6b09cc0 (diff) |
Bluetooth: Fix requiring SMP MITM for outgoing connections
commit 79897d2097a629179e142014ecd3cdce6eac7f0e upstream.
Due to recent changes to the way that the MITM requirement is set for
outgoing pairing attempts we can no longer rely on the hcon->auth_type
variable (which is actually good since it was formed from BR/EDR
concepts that don't really exist for SMP).
To match the logic that BR/EDR now uses simply rely on the local IO
capability and/or needed security level to set the MITM requirement for
outgoing pairing requests.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/net_utils.c')
0 files changed, 0 insertions, 0 deletions