]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Skip eSCO 2M params when not supported
authorYu Liu <yudiliu@google.com>
Fri, 29 Jan 2021 21:53:48 +0000 (13:53 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 1 Feb 2021 16:04:17 +0000 (17:04 +0100)
commite551348a5e53b825b4d54dbcde4bae7223136a0f
tree1614cae9afd6db78c6a423b01d9f2fcdb5014955
parentfa90760f77766673a61fc3381bbc25619566a59a
Bluetooth: Skip eSCO 2M params when not supported

If a peer device doesn't support eSCO 2M we should skip the params that
use it when setting up sync connection since they will always fail.

Signed-off-by: Yu Liu <yudiliu@google.com>
Reviewed-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_conn.c