diff options
author | Waldemar Rymarkiewicz | 2011-04-28 12:07:54 +0200 |
---|---|---|
committer | Gustavo F. Padovan | 2011-04-28 20:02:08 +0200 |
commit | 9003c4e220c2954a53c5da0d739ed15a46c13429 (patch) | |
tree | 8459a9229d85eb2a4c90e9b9caa10f7322846d6f /include/net/bluetooth/hci_core.h | |
parent | Bluetooth: Add definitions for link key types (diff) | |
download | kernel-qcow2-linux-9003c4e220c2954a53c5da0d739ed15a46c13429.tar.gz kernel-qcow2-linux-9003c4e220c2954a53c5da0d739ed15a46c13429.tar.xz kernel-qcow2-linux-9003c4e220c2954a53c5da0d739ed15a46c13429.zip |
Bluetooth: Don't modify sec_level if auth failed
If authentication fails the security level should stay as it was set
before the process has started. Setting BT_SECURITY_LOW can hide real
security level on a link eg. having BT_SECURITY_MEDIUM on the link,
re-authenticate with failure to get BT_SECURITY_HIGH, as a result we
get BT_SECURITY_LOW on the link while the real security is still medium.
Signed-off-by: Waldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net/bluetooth/hci_core.h')
0 files changed, 0 insertions, 0 deletions