summaryrefslogtreecommitdiff
path: root/mesh/node.c
diff options
context:
space:
mode:
authorMichaƂ Lowas-Rzechonek <michal.lowas-rzechonek@silvair.com>2020-01-08 22:51:14 +0100
committerBrian Gix <brian.gix@intel.com>2020-01-08 14:02:36 -0800
commitf31407553164219fd6e8bcb23f9779de0316b857 (patch)
tree1cd05010c93f1b011554732333acfe74bf500a41 /mesh/node.c
parenta7ba7ae31a3f21cfb7f46c8439fcc10ed8ced41c (diff)
downloadbluez-f31407553164219fd6e8bcb23f9779de0316b857.tar.gz
mesh: Fix BeaconFlags property type
This property is an uint8, not a boolean.
Diffstat (limited to 'mesh/node.c')
-rw-r--r--mesh/node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesh/node.c b/mesh/node.c
index 2575f4da1..3154d6bf4 100644
--- a/mesh/node.c
+++ b/mesh/node.c
@@ -2280,7 +2280,7 @@ static void setup_node_interface(struct l_dbus_interface *iface)
l_dbus_interface_property(iface, "Features", 0, "a{sv}", features_getter,
NULL);
l_dbus_interface_property(iface, "Beacon", 0, "b", beacon_getter, NULL);
- l_dbus_interface_property(iface, "BeaconFlags", 0, "b",
+ l_dbus_interface_property(iface, "BeaconFlags", 0, "y",
beaconflags_getter, NULL);
l_dbus_interface_property(iface, "IvIndex", 0, "u", ivindex_getter,
NULL);