From 6cc974844e6efde880d431cb7c4bfb7259a5bd4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Paulo=20Rechi=20Vita?= Date: Fri, 26 Apr 2013 21:24:52 -0300 Subject: [PATCH] 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. --- src/modules/bluetooth/module-bluetooth-device.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/modules/bluetooth/module-bluetooth-device.c b/src/modules/bluetooth/module-bluetooth-device.c index edc2ab1b6..6ae357014 100644 --- a/src/modules/bluetooth/module-bluetooth-device.c +++ b/src/modules/bluetooth/module-bluetooth-device.c @@ -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;