]> code.delx.au - pulseaudio/commit
bluetooth: Don't log an error if an endpoint type is disabled.
authorTanu Kaskinen <tanu.kaskinen@digia.com>
Mon, 21 Mar 2011 13:08:34 +0000 (15:08 +0200)
committerColin Guthrie <cguthrie@mandriva.org>
Thu, 24 Mar 2011 09:17:15 +0000 (09:17 +0000)
commit51163d0fd94735a514d734ca35644cbd45184ce0
tree6809ee5d9baf46dcfc2de72bfdb195176bc52822
parent93348331bb415b1d0a5a1067fbe597f58353c5c9
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.c
src/modules/bluetooth/bluetooth-util.h