From: Chen Ganir <chen.ganir@xxxxxx> Fix how device version is added to the property dictionay. --- src/device.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/device.c b/src/device.c index eab7e4c..3b772ee 100644 --- a/src/device.c +++ b/src/device.c @@ -383,7 +383,7 @@ static DBusMessage *get_properties(DBusConnection *conn, &device->product); /* Version */ - if (device->product) + if (device->version) dict_append_entry(&dict, "Version", DBUS_TYPE_UINT16, &device->version); -- 1.7.4.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html