commit | 5d14cddaa89f0cfb0b9f9cc935b5b6c2985dbb23 | [log] [tgz] |
---|---|---|
author | Emil Gydesen <emil.gydesen@nordicsemi.no> | Wed Aug 25 18:25:46 2021 +0200 |
committer | Anas Nashif <anas.nashif@intel.com> | Thu Sep 02 19:37:28 2021 -0400 |
tree | 47daa15e876163518166ce87fae98a95e26b28e2 | |
parent | 891d838140e342852496533ba08ddcd97e0bf4fb [diff] |
Bluetooth: ISO: Fixes ISO central disconnect and cleanup issues When an ISO channel is disconnect on the central, it is not deallocated, but merely disconnected. This is because, as per the HCI spec, the CIS handle lives on in the CIG. Instead of unref'ing the bt_conn to 0, we simply put the channel and connection in the disconnected state. This also fixes a few missing returns for terminating a CIG. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>