summaryrefslogtreecommitdiffstats
path: root/src/modules/bluetooth
diff options
context:
space:
mode:
authorJoão Paulo Rechi Vita <jprvita@profusion.mobi>2010-01-29 10:59:33 -0200
committerLennart Poettering <lennart@poettering.net>2010-02-21 20:51:02 +0100
commitedf5f5be6bf5b4c4b7188b4691caebd4db233788 (patch)
tree54d058700b47c4d09324c5a95b08f68a367865f6 /src/modules/bluetooth
parent323f0ad4034bf37b8c2002a8ee8efab22db5b140 (diff)
bluetooth: improve dbus logging
Diffstat (limited to 'src/modules/bluetooth')
-rw-r--r--src/modules/bluetooth/bluetooth-util.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/bluetooth/bluetooth-util.c b/src/modules/bluetooth/bluetooth-util.c
index b2c04293..7b0e6f8b 100644
--- a/src/modules/bluetooth/bluetooth-util.c
+++ b/src/modules/bluetooth/bluetooth-util.c
@@ -293,9 +293,10 @@ static int parse_audio_property(pa_bluetooth_discovery *u, int *state, DBusMessa
const char *value;
dbus_message_iter_get_basic(&variant_i, &value);
- if (pa_streq(key, "State"))
+ if (pa_streq(key, "State")) {
*state = pa_bt_audio_state_from_string(value);
-/* pa_log_debug("Value %s", value); */
+ pa_log_debug("dbus: property 'State' changed to value '%s'", value);
+ }
break;
}