From f8c20ec76a0d09b59a53f00184621ff83e8cc6e2 Mon Sep 17 00:00:00 2001 From: Emil Gydesen Date: Mon, 17 Jan 2022 13:36:28 +0100 Subject: [PATCH] Bluetooth: Add reference to BT_HCI_ERR_* for disconnect reason Add reference to BT_HCI_ERR_* for ACL and ISO disconnect reason. Signed-off-by: Emil Gydesen --- include/bluetooth/conn.h | 2 +- include/bluetooth/iso.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/bluetooth/conn.h b/include/bluetooth/conn.h index 00ae56ab214..315ea6be18e 100644 --- a/include/bluetooth/conn.h +++ b/include/bluetooth/conn.h @@ -811,7 +811,7 @@ struct bt_conn_cb { * increase @kconfig{CONFIG_BT_MAX_CONN}. * * @param conn Connection object. - * @param reason HCI reason for the disconnection. + * @param reason BT_HCI_ERR_* reason for the disconnection. */ void (*disconnected)(struct bt_conn *conn, uint8_t reason); diff --git a/include/bluetooth/iso.h b/include/bluetooth/iso.h index bcb01ff25e7..968b6efbbc8 100644 --- a/include/bluetooth/iso.h +++ b/include/bluetooth/iso.h @@ -416,7 +416,7 @@ struct bt_iso_chan_ops { * rejected. * * @param chan The channel that has been Disconnected - * @param reason HCI reason for the disconnection. + * @param reason BT_HCI_ERR_* reason for the disconnection. */ void (*disconnected)(struct bt_iso_chan *chan, uint8_t reason);