]> git.baikalelectronics.ru Git - 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Nov 2022 16:42:13 +0000 (17:42 +0100)
commit8072fb469bf1858e99a9e840846886d1416b045a
treea52bb81a63e774665c72c7a62f7b73c0f12b7e74
parent4f8dd75d390e6d3e11f507333e970a165e7f6611
Bluetooth: L2CAP: Fix l2cap_global_chan_by_psm

[ Upstream commit 8f2c61e62df3eab47c1a9e82205cb507e27270fe ]

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>
net/bluetooth/l2cap_core.c