tools/mesh-cfgclient: Fix typos in config storage
authorInga Stotland <inga.stotland@intel.com>
Fri, 7 Jan 2022 21:50:03 +0000 (13:50 -0800)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:53 +0000 (14:55 +0530)
Fix keyword typos and comments.

Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
tools/mesh/mesh-db.c

index 46e9ccf..00cda86 100644 (file)
@@ -2009,7 +2009,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;
@@ -2043,7 +2043,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,