diff options
author | 2011-06-02 14:24:52 +0200 | |
---|---|---|
committer | 2011-06-08 16:58:19 -0300 | |
commit | ef4177e2bf92543e422fae154888062376e2283d (patch) | |
tree | 800ea51c1c36ce3f2f39b8480616a4a3a634291e /include | |
parent | Bluetooth: Add BT_POWER L2CAP socket option. (diff) | |
download | wireguard-linux-ef4177e2bf92543e422fae154888062376e2283d.tar.xz wireguard-linux-ef4177e2bf92543e422fae154888062376e2283d.zip |
Bluetooth: Simplify hci_conn_accept_secure check
If the link key is secure (authenticated or combination 16 digit)
the sec_level will be always BT_SECURITY_HIGH. Therefore, instead
of checking the link key type simply check the sec_level on the link.
Signed-off-by: Waldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions