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 <emil.gydesen@nordicsemi.no>
This commit is contained in:
Emil Gydesen 2022-01-17 13:36:28 +01:00 committed by Anas Nashif
commit f8c20ec76a
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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);