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>
This commit is contained in:
Marijn Suijten 2022-08-12 14:22:52 +02:00 committed by Tanu Kaskinen
parent 518ca03019
commit 8188b49bed

View file

@ -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;
}