diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-07-28 13:56:36 -0700 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-08-08 17:04:11 -0700 |
commit | 10b9adb556508a299dc283b7c746b811f6918987 (patch) | |
tree | 827628ee69a898ba9dcb7ae14ad415dbfd957de7 /net/bluetooth/iso.c | |
parent | 164dac9755ac297b0c07505ad3db9e7d69b80499 (diff) | |
download | linux-10b9adb556508a299dc283b7c746b811f6918987.tar.gz linux-10b9adb556508a299dc283b7c746b811f6918987.tar.bz2 linux-10b9adb556508a299dc283b7c746b811f6918987.zip |
Bluetooth: hci_conn: Fix updating ISO QoS PHY
BT_ISO_QOS has different semantics when it comes to QoS PHY as it uses
0x00 to disable a direction but that value is invalid over HCI and
sockets using DEFER_SETUP to connect may attempt to use hci_bind_cis
multiple times in order to detect if the parameters have changed, so to
fix the code will now just mirror the PHY for the parameters of
HCI_OP_LE_SET_CIG_PARAMS and will not update the PHY of the socket
leaving it disabled.
Fixes: 26afbd826ee32 ("Bluetooth: Add initial implementation of CIS connections")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'net/bluetooth/iso.c')
0 files changed, 0 insertions, 0 deletions