From 4b4b6762aa28eb549eb1e3d96682bd5351db3914 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Wed, 16 May 2018 16:12:56 +0300 Subject: [PATCH] Bluetooth: GATT: Fix documentation of bt_gatt_notify Document the return value of bt_gatt_notify. Signed-off-by: Luiz Augusto von Dentz --- include/bluetooth/gatt.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/bluetooth/gatt.h b/include/bluetooth/gatt.h index 4e7bffca6d7..db9b01df56a 100644 --- a/include/bluetooth/gatt.h +++ b/include/bluetooth/gatt.h @@ -701,6 +701,8 @@ int bt_gatt_notify(struct bt_conn *conn, const struct bt_gatt_attr *attr, * @param conn Connection object. * @param attr Attribute object. * @param err ATT error code + * + * @return 0 in case of success or negative value in case of error. */ typedef void (*bt_gatt_indicate_func_t)(struct bt_conn *conn, const struct bt_gatt_attr *attr,