From a9484d7a8cdf4a92c4340faae08546c89e7649e6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20Lowas-Rzechonek?= Date: Mon, 15 Jun 2020 14:41:08 +0200 Subject: [PATCH] mesh: Rename IVUpdate import flag to IvUpdate Name change for consistency with "IvIndex" property. Change-Id: I7af9b75553a73cb13feee63614a2501a73074513 Signed-off-by: anuj.bhumiya --- doc/mesh-api.txt | 2 +- mesh/mesh.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/mesh-api.txt b/doc/mesh-api.txt index 36b0d64..e99bacb 100644 --- a/doc/mesh-api.txt +++ b/doc/mesh-api.txt @@ -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. diff --git a/mesh/mesh.c b/mesh/mesh.c index 525ae55..b785460 100644 --- a/mesh/mesh.c +++ b/mesh/mesh.c @@ -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; -- 2.7.4