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)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 2 Nov 2022 23:36:59 +0000 (16:36 -0700)
commitf937b758a188d6fd328a81367087eddbb2fce50f
treec969b03b9f145d82296a238110a3cb466bd78a72
parent711f8c3fb3db61897080468586b970c87c61d9e4
Bluetooth: L2CAP: Fix l2cap_global_chan_by_psm

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