Bluetooth: host: Add ISO disconnect reason

Adds a disconnect reason in the ISO disconnect callback.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
Emil Gydesen 2021-03-24 16:06:05 +01:00 committed by Carles Cufí
commit 026da2df03
5 changed files with 21 additions and 14 deletions

View file

@ -238,9 +238,10 @@ struct bt_iso_chan_ops {
* channel is disconnected, including when a connection gets
* rejected.
*
* @param chan The channel that has been Disconnected
* @param chan The channel that has been Disconnected
* @param reason HCI reason for the disconnection.
*/
void (*disconnected)(struct bt_iso_chan *chan);
void (*disconnected)(struct bt_iso_chan *chan, uint8_t reason);
/** @brief Channel alloc_buf callback
*