Reformat long comments before clang-format
Test: mma -j32
Change-Id: I86a2a4af9dcd22d675ca1f764bb2c9623d63edcc
diff --git a/stack/gatt/gatt_sr.cc b/stack/gatt/gatt_sr.cc
index 3da64f9..b0e5b87 100644
--- a/stack/gatt/gatt_sr.cc
+++ b/stack/gatt/gatt_sr.cc
@@ -76,7 +76,7 @@
*
* Function gatt_sr_cmd_empty
*
- * Description This function check the server command queue is empty or not.
+ * Description This function checks if the server command queue is empty.
*
* Returns true if empty, false if there is pending command.
*
@@ -247,8 +247,8 @@
*
* Function gatt_sr_process_app_rsp
*
- * Description This function checks whether the response message from application
- * match any pending request or not.
+ * Description This function checks whether the response message from
+ * application matches any pending request.
*
* Returns void
*
@@ -669,7 +669,8 @@
*
* Function gatts_internal_read_by_type_req
*
- * Description check to see if the ReadByType request can be handled internally.
+ * Description Check to see if the ReadByType request can be handled
+ * internally.
*
* Returns void
*
@@ -732,8 +733,9 @@
*
* Function gatts_process_primary_service_req
*
- * Description process ReadByGroupType/ReadByTypeValue request, for discover
- * all primary services or discover primary service by UUID request.
+ * Description Process ReadByGroupType/ReadByTypeValue request, for
+ * discovering all primary services or discover primary service
+ * by UUID request.
*
* Returns void
*
@@ -1197,8 +1199,8 @@
*
* Function gatts_process_attribute_req
*
- * Description This function is called to process the per attribute handle request
- * from client.
+ * Description This function is called to process the per attribute handle
+ * request from client.
*
* Returns void
*
@@ -1309,8 +1311,8 @@
*
* Function gatts_chk_pending_ind
*
- * Description This function check any pending indication needs to be sent if
- * there is a pending indication then sent the indication
+ * Description This function check any pending indication needs to be sent
+ * if there is a pending indication then sent the indication
*
* Returns void
*
@@ -1335,10 +1337,10 @@
*
* Function gatts_proc_ind_ack
*
- * Description This function process the Indication ack
+ * Description This function processes the Indication ack
*
- * Returns true continue to process the indication ack by the aaplication
- * if the ACk is not a Service Changed Indication Ack
+ * Returns true continue to process the indication ack by the
+ * application if the ACK is not a Service Changed Indication
*
******************************************************************************/
static bool gatts_proc_ind_ack(tGATT_TCB *p_tcb, uint16_t ack_handle)
@@ -1362,7 +1364,8 @@
*
* Function gatts_process_value_conf
*
- * Description This function is called to process the handle value confirmation.
+ * Description This function is called to process the handle value
+ * confirmation.
*
* Returns void
*