diff options
author | Pauli Virtanen <pav@iki.fi> | 2023-08-05 18:08:41 +0200 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2023-08-11 20:57:33 +0200 |
commit | 66dee21524d9ac6461ec3052652b7bc0603ee0c5 (patch) | |
tree | ac3d3a81169e58f1d3dd3406267edc02ba653762 /include/net/netns/nftables.h | |
parent | Bluetooth: btrtl: Load FW v2 otherwise FW v1 for RTL8852C (diff) | |
download | linux-66dee21524d9ac6461ec3052652b7bc0603ee0c5.tar.xz linux-66dee21524d9ac6461ec3052652b7bc0603ee0c5.zip |
Bluetooth: hci_event: drop only unbound CIS if Set CIG Parameters fails
When user tries to connect a new CIS when its CIG is not configurable,
that connection shall fail, but pre-existing connections shall not be
affected. However, currently hci_cc_le_set_cig_params deletes all CIS
of the CIG on error so it doesn't work, even though controller shall not
change CIG/CIS configuration if the command fails.
Fix by failing on command error only the connections that are not yet
bound, so that we keep the previous CIS configuration like the
controller does.
Fixes: 26afbd826ee3 ("Bluetooth: Add initial implementation of CIS connections")
Signed-off-by: Pauli Virtanen <pav@iki.fi>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'include/net/netns/nftables.h')
0 files changed, 0 insertions, 0 deletions