diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2021-12-09 02:35:48 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-01-27 13:03:45 +0300 |
commit | 79d6a406df007a7dcd2fba828e7b28c9d880c34a (patch) | |
tree | 538ea78449ac027d24b7808b0e79d862ff6d73a8 /tools/bpf | |
parent | a3641f64a9d9ac2fb5e17b9ebd265e9bb8c0548d (diff) | |
download | linux-79d6a406df007a7dcd2fba828e7b28c9d880c34a.tar.xz |
Bluetooth: L2CAP: Fix using wrong mode
[ Upstream commit 30d57722732d9736554f85f75f9d7ad5402d192e ]
If user has a set to use SOCK_STREAM the socket would default to
L2CAP_MODE_ERTM which later needs to be adjusted if the destination
address is LE which doesn't support such mode.
Fixes: 15f02b9105625 ("Bluetooth: L2CAP: Add initial code for Enhanced Credit Based Mode")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/bpf')
0 files changed, 0 insertions, 0 deletions