2022-08-31 09:31:52

by Bastien Nocera

[permalink] [raw]
Subject: [PATCH BlueZ v4 6/6] adapter: Remove experimental flag for PowerState

Now that the feature has been tested, that the API is deemed adequate
and the reliability sufficient.
---
src/adapter.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/adapter.c b/src/adapter.c
index 11a21ca5c..2a4a0a977 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -3808,8 +3808,7 @@ static const GDBusPropertyTable adapter_properties[] = {
{ "Alias", "s", property_get_alias, property_set_alias },
{ "Class", "u", property_get_class },
{ "Powered", "b", property_get_powered, property_set_powered },
- { "PowerState", "s", property_get_power_state, NULL, NULL,
- G_DBUS_PROPERTY_FLAG_EXPERIMENTAL },
+ { "PowerState", "s", property_get_power_state },
{ "Discoverable", "b", property_get_discoverable,
property_set_discoverable },
{ "DiscoverableTimeout", "u", property_get_discoverable_timeout,
--
2.37.2


2022-08-31 09:34:11

by Bastien Nocera

[permalink] [raw]
Subject: Re: [PATCH BlueZ v4 6/6] adapter: Remove experimental flag for PowerState

You'll want to give a miss to this one in the first pass ;)

On Wed, 2022-08-31 at 11:19 +0200, Bastien Nocera wrote:
> Now that the feature has been tested, that the API is deemed adequate
> and the reliability sufficient.
> ---
>  src/adapter.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/src/adapter.c b/src/adapter.c
> index 11a21ca5c..2a4a0a977 100644
> --- a/src/adapter.c
> +++ b/src/adapter.c
> @@ -3808,8 +3808,7 @@ static const GDBusPropertyTable
> adapter_properties[] = {
>         { "Alias", "s", property_get_alias, property_set_alias },
>         { "Class", "u", property_get_class },
>         { "Powered", "b", property_get_powered, property_set_powered
> },
> -       { "PowerState", "s", property_get_power_state, NULL, NULL,
> -                            G_DBUS_PROPERTY_FLAG_EXPERIMENTAL },
> +       { "PowerState", "s", property_get_power_state },
>         { "Discoverable", "b", property_get_discoverable,
>                                         property_set_discoverable },
>         { "DiscoverableTimeout", "u",
> property_get_discoverable_timeout,