diff options
author | 2024-06-09 18:06:20 +0300 | |
---|---|---|
committer | 2024-06-10 09:48:30 -0400 | |
commit | c695439d198d30e10553a3b98360c5efe77b6903 (patch) | |
tree | 1c1da4a709f7b019564dcda3bbd62100d2a8c90e /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Bluetooth: L2CAP: Fix rejecting L2CAP_CONN_PARAM_UPDATE_REQ (diff) | |
download | wireguard-linux-c695439d198d30e10553a3b98360c5efe77b6903.tar.xz wireguard-linux-c695439d198d30e10553a3b98360c5efe77b6903.zip |
Bluetooth: fix connection setup in l2cap_connect
The amp_id argument of l2cap_connect() was removed in
commit 84a4bb6548a2 ("Bluetooth: HCI: Remove HCI_AMP support")
It was always called with amp_id == 0, i.e. AMP_ID_BREDR == 0x00 (ie.
non-AMP controller). In the above commit, the code path for amp_id != 0
was preserved, although it should have used the amp_id == 0 one.
Restore the previous behavior of the non-AMP code path, to fix problems
with L2CAP connections.
Fixes: 84a4bb6548a2 ("Bluetooth: HCI: Remove HCI_AMP support")
Signed-off-by: Pauli Virtanen <pav@iki.fi>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions