mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-24 19:10:26 +00:00
Bluetooth: L2CAP: Fix not checking l2cap_chan security level
[ Upstream commit7af8479d9e] l2cap_check_enc_key_size shall check the security level of the l2cap_chan rather than the hci_conn since for incoming connection request that may be different as hci_conn may already been encrypted using a different security level. Fixes:522e9ed157("Bluetooth: l2cap: Check encryption key size on incoming connection") Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
2b82d8e483
commit
c331a616a0
1 changed files with 8 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue