summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-10-06 19:58:30 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-10-06 19:58:33 +0200
commit34e721f72d64f2de3aeed45ab416557c1c32ef43 (patch)
treec41dbde759d3d1d69a1666abf7beed39b01eb4a4
parent43baee63f615b021a538a300cc7e35375b3db97c (diff)
downloadbluez-34e721f72d64f2de3aeed45ab416557c1c32ef43.tar.gz
device: Fix missing iterator append call in dev_property_get_product
-rw-r--r--src/device.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/device.c b/src/device.c
index 419c16d9c..84be932c3 100644
--- a/src/device.c
+++ b/src/device.c
@@ -574,6 +574,9 @@ static gboolean dev_property_get_product(const GDBusPropertyTable *property,
if (!device->product)
return FALSE;
+ dbus_message_iter_append_basic(iter, DBUS_TYPE_UINT16,
+ &device->product);
+
return TRUE;
}