Message ID | 20200615124108.11517-1-michal.lowas-rzechonek@silvair.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | [BlueZ] mesh: Rename IVUpdate import flag to IvUpdate | expand |
Applied On Mon, 2020-06-15 at 14:41 +0200, Michał Lowas-Rzechonek wrote: > Name change for consistency with "IvIndex" property. > --- > 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 6d905cf48..7fbab32b6 100644 > --- a/doc/mesh-api.txt > +++ b/doc/mesh-api.txt > @@ -190,7 +190,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 4abae4d92..a62cb5390 100644 > --- a/mesh/mesh.c > +++ b/mesh/mesh.c > @@ -808,7 +808,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; >
diff --git a/doc/mesh-api.txt b/doc/mesh-api.txt index 6d905cf48..7fbab32b6 100644 --- a/doc/mesh-api.txt +++ b/doc/mesh-api.txt @@ -190,7 +190,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 4abae4d92..a62cb5390 100644 --- a/mesh/mesh.c +++ b/mesh/mesh.c @@ -808,7 +808,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;