[PATCH BlueZ 18/19] unit: Fix typos

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Found using codespell.
---
 unit/test-bap.c | 2 +-
 unit/test-vcp.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/unit/test-bap.c b/unit/test-bap.c
index f65df69ef373..a7a9448e7972 100644
--- a/unit/test-bap.c
+++ b/unit/test-bap.c
@@ -419,7 +419,7 @@ static void gatt_notify_cb(struct gatt_db_attribute *attrib,
 }
 
 static void gatt_ccc_read_cb(struct gatt_db_attribute *attrib,
-					unsigned int id, uint16_t offest,
+					unsigned int id, uint16_t offset,
 					uint8_t opcode, struct bt_att *att,
 					void *user_data)
 {
diff --git a/unit/test-vcp.c b/unit/test-vcp.c
index 2a6e77eb08b6..cd6d53c0121d 100644
--- a/unit/test-vcp.c
+++ b/unit/test-vcp.c
@@ -138,7 +138,7 @@ static void gatt_notify_cb(struct gatt_db_attribute *attrib,
 }
 
 static void gatt_ccc_read_cb(struct gatt_db_attribute *attrib,
-					unsigned int id, uint16_t offest,
+					unsigned int id, uint16_t offset,
 					uint8_t opcode, struct bt_att *att,
 					void *user_data)
 {
@@ -1825,7 +1825,7 @@ static void test_server(const void *user_data)
 	VOCS_READ_CHAR_AUD_LOC
  /*
   * VOCS/SR/CP/BV-01-C [Set Volume Offset]
-  * Do Initial Condition Proedures
+  * Do Initial Condition Procedures
   * 1. The Lower Tester executes the GATT Read Characteristic
   *    Value sub-procedure for the Volume Offset State characteristic.
   * Repeat steps 2-4 for (255 - Change_Counter value) + 1 times.
-- 
2.50.0





[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux