summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarijn Suijten <marijns95@gmail.com>2022-08-12 14:22:52 +0200
committerTanu Kaskinen <tanuk@iki.fi>2022-08-16 08:16:24 +0300
commit8188b49bed7be08e23abcf92b098f62c1fc5c2ec (patch)
treeb1aa9eafeaeb7d6e1a29d51223f0fd6845d675b3
parent518ca03019f9c7cfd361b57673e9e6c3c1787579 (diff)
downloadpulseaudio-8188b49bed7be08e23abcf92b098f62c1fc5c2ec.tar.gz
backend-native: Remove uninformative "Profile unavailable" debug message
This message would print for all transports while not even conveying the profile of the transport, and might be printed for non-`HFP_HF` profiles which is the only transport-profile we're interested in. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/740>
-rw-r--r--src/modules/bluetooth/backend-native.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/modules/bluetooth/backend-native.c b/src/modules/bluetooth/backend-native.c
index 1e366acf8..bda9c7fa0 100644
--- a/src/modules/bluetooth/backend-native.c
+++ b/src/modules/bluetooth/backend-native.c
@@ -822,7 +822,6 @@ static int get_rfcomm_fd(pa_bluetooth_discovery *discovery) {
while ((t = pa_hashmap_iterate(pa_bluetooth_discovery_get_transports(discovery), &state, NULL))) {
/* Skip non-connected transports */
if (!t || t->state == PA_BLUETOOTH_TRANSPORT_STATE_DISCONNECTED) {
- pa_log_debug("Profile disconnected or unavailable");
continue;
}