diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2014-09-10 17:37:44 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-09-11 02:45:24 +0200 |
commit | 1afc2a1ab6612dcc3f26db7ca1afba9cff359f1c (patch) | |
tree | 732c2a96faeefeb35a72e89c0b1ee3fe8f3ece47 /net/bluetooth/smp.h | |
parent | 24bd0bd94e0947e257c5cd6a85b0e337d953e79c (diff) | |
download | linux-1afc2a1ab6612dcc3f26db7ca1afba9cff359f1c.tar.gz linux-1afc2a1ab6612dcc3f26db7ca1afba9cff359f1c.tar.bz2 linux-1afc2a1ab6612dcc3f26db7ca1afba9cff359f1c.zip |
Bluetooth: Fix SMP security level when we have no IO capabilities
When the local IO capability is NoInputNoOutput any attempt to convert
the remote authentication requirement to a target security level is
futile. This patch makes sure that we set the target security level at
most to MEDIUM if the local IO capability is NoInputNoOutput.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/smp.h')
0 files changed, 0 insertions, 0 deletions