]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
Bluetooth: L2CAP: Fix l2cap_global_chan_by_psm
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 31 Oct 2022 23:10:33 +0000 (16:10 -0700)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 14 Dec 2022 12:59:26 +0000 (13:59 +0100)
commit0968d969b210c4ec6da80016a50c8191e240b39c
treedbf046c13ea2b63c00c98176fe5ba43d035aeaf7
parent738ab1ce0ad423a37ebc420b351433fc6d020932
Bluetooth: L2CAP: Fix l2cap_global_chan_by_psm

[ Upstream commit f937b758a188d6fd328a81367087eddbb2fce50f ]

l2cap_global_chan_by_psm shall not return fixed channels as they are not
meant to be connected by (S)PSM.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Reviewed-by: Tedd Ho-Jeong An <tedd.an@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 41e37d04e397ea8dd3bf0e74065703ca6c43c9e9)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
net/bluetooth/l2cap_core.c