From c6071e46dad86df7402d474602cdcbb0410ef49f Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Mon, 25 Jul 2016 16:08:52 +0300 Subject: [PATCH] Bluetooth: GATT: Fix bt_gatt_exchange_mtu documentation bt_gatt_exchange_mtu does actually return an int, also change the align the description properly so it is consistent with other functions. Change-Id: I6a0780830e13ded15e6262a46094441a2ef662c8 Signed-off-by: Luiz Augusto von Dentz --- include/bluetooth/gatt.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/include/bluetooth/gatt.h b/include/bluetooth/gatt.h index 2f00acb3921..5b6cbac2f03 100644 --- a/include/bluetooth/gatt.h +++ b/include/bluetooth/gatt.h @@ -746,12 +746,15 @@ typedef void (*bt_gatt_rsp_func_t)(struct bt_conn *conn, uint8_t err); /** @brief Exchange MTU * - * This client procedure can be used to set the MTU to the maximum possible - * size the buffers can hold. - * NOTE: Shall only be used once per connection. + * This client procedure can be used to set the MTU to the maximum possible + * size the buffers can hold. + * + * NOTE: Shall only be used once per connection. * * @param conn Connection object. * @param func Exchange MTU Response callback function. + * + * @return 0 in case of success or negative value in case of error. */ int bt_gatt_exchange_mtu(struct bt_conn *conn, bt_gatt_rsp_func_t func);