Diff between ae79b0ae8d1dfdc4d90dedb10851c8d4fef187c1 and 728b5101160c54c4013250264b2914ba49827554

Changed Files

File Additions Deletions Status
src/shared/gatt-client.c +2 -2 modified

Full Patch

diff --git a/src/shared/gatt-client.c b/src/shared/gatt-client.c
index 963ad61..c4a79ea 100644
--- a/src/shared/gatt-client.c
+++ b/src/shared/gatt-client.c
@@ -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);