[PATCH BlueZ] tools/mesh-cfgclient: Fix typos in config storage

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

 



Fix keyword typos and comments.
---
 tools/mesh/mesh-db.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/mesh/mesh-db.c b/tools/mesh/mesh-db.c
index 1a1ba380b..fa11837df 100644
--- a/tools/mesh/mesh-db.c
+++ b/tools/mesh/mesh-db.c
@@ -2007,7 +2007,7 @@ bool mesh_db_get_addr_range(uint16_t *low, uint16_t *high)
 	if (!cfg || !cfg->jcfg)
 		return false;
 
-	jarray = json_object_object_get(cfg->jcfg, "provisioniers");
+	jarray = json_object_object_get(cfg->jcfg, "provisioners");
 
 	if (!jarray || json_object_get_type(jarray) != json_type_array)
 		return false;
@@ -2041,7 +2041,7 @@ bool mesh_db_get_addr_range(uint16_t *low, uint16_t *high)
 }
 
 /*
- * This is a simplistic implementation onf allocated range, where
+ * This is a simplistic implementation of allocated range, where
  * the range is one contiguous chunk of the address space.
  */
 static bool add_range(json_object *jobj, const char *keyword, uint16_t low,
-- 
2.31.1




[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