diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2014-06-17 12:07:37 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-06-20 13:53:38 +0200 |
commit | c7262e711ae6e466baeb9ddc21d678c878469b1f (patch) | |
tree | cee6f759689de12132f84a4bc5ca05359a6f6ba7 /CREDITS | |
parent | Revert "Bluetooth: Add a new PID/VID 0cf3/e005 for AR3012." (diff) | |
download | linux-c7262e711ae6e466baeb9ddc21d678c878469b1f.tar.xz linux-c7262e711ae6e466baeb9ddc21d678c878469b1f.zip |
Bluetooth: Fix overriding higher security level in SMP
When we receive a pairing request or an internal request to start
pairing we shouldn't blindly overwrite the existing pending_sec_level
value as that may actually be higher than the new one. This patch fixes
the SMP code to only overwrite the value in case the new one is higher
than the old.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions