bluetooth: Remove the 'bluez.name' property

The 'Name' property of the Device interface became optional in BlueZ 5
and may not be present anymore (that happens when testing against the
PTS 4.7.0), so it's better not to expose it to clients so they don't
rely on its existence.
This commit is contained in:
João Paulo Rechi Vita 2013-04-26 21:24:52 -03:00 committed by Arun Raghavan
parent 5b48062f94
commit 6cc974844e

View file

@ -2262,7 +2262,6 @@ static int add_card(struct userdata *u) {
pa_proplist_sets(data.proplist, "bluez.path", device->path);
pa_proplist_setf(data.proplist, "bluez.class", "0x%06x", (unsigned) device->class);
pa_proplist_sets(data.proplist, "bluez.name", device->name);
pa_proplist_sets(data.proplist, "bluez.alias", device->alias);
data.name = get_name("card", u->modargs, device->address, &b);
data.namereg_fail = b;