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 <luiz.von.dentz@intel.com>
This commit is contained in:
Luiz Augusto von Dentz 2016-07-25 16:08:52 +03:00
commit c6071e46da

View file

@ -746,12 +746,15 @@ typedef void (*bt_gatt_rsp_func_t)(struct bt_conn *conn, uint8_t err);
/** @brief Exchange MTU /** @brief Exchange MTU
* *
* This client procedure can be used to set the MTU to the maximum possible * This client procedure can be used to set the MTU to the maximum possible
* size the buffers can hold. * size the buffers can hold.
* NOTE: Shall only be used once per connection. *
* NOTE: Shall only be used once per connection.
* *
* @param conn Connection object. * @param conn Connection object.
* @param func Exchange MTU Response callback function. * @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); int bt_gatt_exchange_mtu(struct bt_conn *conn, bt_gatt_rsp_func_t func);