Skip to content
Commit d811f692 authored by Lyle Zhu's avatar Lyle Zhu Committed by Henrik Brix Andersen
Browse files

Bluetooth: L2CAP_BR: Reject the conn req if sec levels do not match



If the ACL link has been encrypted and it has a authenticated link key,
it means the pairing procedure has been done. And the security level of
the link key can not be upgraded. In this case, if `conn->sec_level` is
less than the required security level of the L2CAP channel, reject the
L2CAP conn request.

Signed-off-by: default avatarLyle Zhu <lyle.zhu@nxp.com>
parent 110cd6b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment