mesh: Rename IVUpdate import flag to IvUpdate
authorMichał Lowas-Rzechonek <michal.lowas-rzechonek@silvair.com>
Mon, 15 Jun 2020 12:41:08 +0000 (14:41 +0200)
committerAbhay Agarwal <ay.agarwal@samsung.com>
Mon, 28 Dec 2020 06:20:04 +0000 (11:50 +0530)
Name change for consistency with "IvIndex" property.

Change-Id: I7af9b75553a73cb13feee63614a2501a73074513
Signed-off-by: anuj.bhumiya <anuj.bhumiya@samsung.com>
doc/mesh-api.txt
mesh/mesh.c

index 36b0d64..e99bacb 100644 (file)
@@ -204,7 +204,7 @@ Methods:
                The flags parameter is a dictionary containing provisioning
                flags. Supported values are:
 
-                       boolean IVUpdate
+                       boolean IvUpdate
 
                                When true, indicates that the network is in the
                                middle of IV Index Update procedure.
index 525ae55..b785460 100644 (file)
@@ -838,7 +838,7 @@ static struct l_dbus_message *import_call(struct l_dbus *dbus,
                                                        "Bad net index");
 
        while (l_dbus_message_iter_next_entry(&iter_flags, &key, &var)) {
-               if (!strcmp(key, "IVUpdate") &&
+               if (!strcmp(key, "IvUpdate") &&
                        l_dbus_message_iter_get_variant(&var, "b", &ivu))
                        continue;