Skip to contentSkip to conversation

shared/gatt-client:Fixing a few comment typos

PATCH Applied Alain Michaud 2 participants 2 messages May 1, 2020 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 shared/gatt-client:Fixing a few comment typos

This change simply fixes a few comment typos.

---

 src/shared/gatt-client.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
src/shared/gatt-client.c +2 -2
index 963ad619f..c4a79eac9 100644
@@ -642,7 +642,7 @@ static bool discover_descs(struct discovery_op *op, bool *discovering)
 		gatt_db_attribute_get_service_handles(svc, &start, &end);
 
 		/*
-		 * Ajust end_handle in case the next chrc is not within the
+		 * Adjust end_handle in case the next chrc is not within the
 		 * same service.
 		 */
 		if (chrc_data->end_handle > end)
@@ -651,7 +651,7 @@ static bool discover_descs(struct discovery_op *op, bool *discovering)
 		/*
 		 * check for descriptors presence, before initializing the
 		 * desc_handle and avoid integer overflow during desc_handle
-		 * intialization.
+		 * initialization.
 		 */
 		if (chrc_data->value_handle >= chrc_data->end_handle) {
 			free(chrc_data);
Signature · 1 line
2.26.2.526.g744177e7f7-goog
maintainer Applied
#1 lore raw

Hi Alain,

Quoted 31 lines · Alain Michaud

This change simply fixes a few comment typos.

---

 src/shared/gatt-client.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
src/shared/gatt-client.c +2 -3
index 963ad619f..c4a79eac9 100644
@@ -642,7 +642,7 @@ static bool discover_descs(struct discovery_op *op, bool *discovering)
                gatt_db_attribute_get_service_handles(svc, &start, &end);
 
                /*
-                * Ajust end_handle in case the next chrc is not within the
+                * Adjust end_handle in case the next chrc is not within the
                 * same service.
                 */
                if (chrc_data->end_handle > end)
@@ -651,7 +651,7 @@ static bool discover_descs(struct discovery_op *op, bool *discovering)
                /*
                 * check for descriptors presence, before initializing the
                 * desc_handle and avoid integer overflow during desc_handle
-                * intialization.
+                * initialization.
                 */
                if (chrc_data->value_handle >= chrc_data->end_handle) {
                        free(chrc_data);
--
Quoted 2 lines

2.26.2.526.g744177e7f7-goog

Applied, thanks.

Signature · 1 line
Luiz Augusto von Dentz