diff mbox series

[RFC,BlueZ,1/2] mesh: Rename IVUpdate import flag to IvUpdate

Message ID 20200109083855.16000-2-michal.lowas-rzechonek@silvair.com
State New
Headers show
Series [RFC,BlueZ,1/2] mesh: Rename IVUpdate import flag to IvUpdate | expand

Commit Message

MichaƂ Lowas-Rzechonek Jan. 9, 2020, 8:38 a.m. UTC
Name change for consistency with "IvIndex" property.
---
 doc/mesh-api.txt | 2 +-
 mesh/mesh.c      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/doc/mesh-api.txt b/doc/mesh-api.txt
index 6f9531019..b33c24e12 100644
--- a/doc/mesh-api.txt
+++ b/doc/mesh-api.txt
@@ -188,7 +188,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.
diff --git a/mesh/mesh.c b/mesh/mesh.c
index 6d2f86b6d..972beecc9 100644
--- a/mesh/mesh.c
+++ b/mesh/mesh.c
@@ -777,7 +777,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")) {
 			if (!l_dbus_message_iter_get_variant(&var, "b",
 								&ivu))
 				goto fail;