Skip to content

Commit

Permalink
Bluetooth: Add reference to BT_HCI_ERR_* for disconnect reason
Browse files Browse the repository at this point in the history
Add reference to BT_HCI_ERR_* for ACL and ISO disconnect
reason.

Signed-off-by: Emil Gydesen <[email protected]>
  • Loading branch information
Thalley authored and nashif committed Jan 18, 2022
1 parent 37f5fe5 commit f8c20ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/bluetooth/conn.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion include/bluetooth/iso.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit f8c20ec

Please sign in to comment.