---
 src/modules/bluetooth/module-bluetooth-device.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/modules/bluetooth/module-bluetooth-device.c 
b/src/modules/bluetooth/module-bluetooth-device.c
index 4cd5b8d..74887c0 100644
--- a/src/modules/bluetooth/module-bluetooth-device.c
+++ b/src/modules/bluetooth/module-bluetooth-device.c
@@ -3305,10 +3305,6 @@ static int card_set_profile(pa_card *c, pa_card_profile 
*new_profile) {
         pa_log_warn("A2DP is not connected, refused to switch profile");
         return -PA_ERR_IO;
     }
-    else if (device->audio_sink_state < PA_BT_AUDIO_STATE_CONNECTED && *d == 
PROFILE_A2DP_PASSTHROUGH) {
-        pa_log_warn("A2DP Passthrough is not connected, refused to switch 
profile");
-        return -PA_ERR_IO;
-    }
     else if (device->hfgw_state < PA_BT_AUDIO_STATE_CONNECTED && *d == 
PROFILE_HFGW) {
         pa_log_warn("HandsfreeGateway is not connected, refused to switch 
profile");
         return -PA_ERR_IO;
-- 
1.7.5.4

_______________________________________________
pulseaudio-discuss mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Reply via email to