From 51163d0fd94735a514d734ca35644cbd45184ce0 Mon Sep 17 00:00:00 2001 From: Tanu Kaskinen Date: Mon, 21 Mar 2011 15:08:34 +0200 Subject: bluetooth: Don't log an error if an endpoint type is disabled. It's perfectly normal for BlueZ to disable some endpoint types, so printing a log message at error level isn't a good idea. For facilitating an informative message in case some endpoint type is disabled, the send_and_add_to_pending() function interface is also changed to be more generic (the pa_bluetooth_device pointer is replaced with a void pointer). --- src/modules/bluetooth/bluetooth-util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/modules/bluetooth/bluetooth-util.h') diff --git a/src/modules/bluetooth/bluetooth-util.h b/src/modules/bluetooth/bluetooth-util.h index bb0cb24a..2054f6e7 100644 --- a/src/modules/bluetooth/bluetooth-util.h +++ b/src/modules/bluetooth/bluetooth-util.h @@ -29,6 +29,8 @@ #include #include +#define PA_BLUETOOTH_ERROR_NOT_SUPPORTED "org.bluez.Error.NotSupported" + /* UUID copied from bluez/audio/device.h */ #define GENERIC_AUDIO_UUID "00001203-0000-1000-8000-00805f9b34fb" -- cgit