[pulseaudio-discuss] [PATCH] bluetooth: Fix a2dp processing

Maarten Lankhorst m.b.lankhorst at gmail.com
Fri Dec 10 11:34:05 PST 2010


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

diff --git a/src/modules/bluetooth/module-bluetooth-device.c b/src/modules/bluetooth/module-bluetooth-device.c
index c7ac7fa..6d31c1e 100644
--- a/src/modules/bluetooth/module-bluetooth-device.c
+++ b/src/modules/bluetooth/module-bluetooth-device.c
@@ -1529,7 +1529,7 @@ static void thread_func(void *userdata) {
             if (pollfd && (pollfd->revents & POLLIN)) {
                 int n_read;
 
-                if (u->profile == PROFILE_HSP || PROFILE_HFGW)
+                if (u->profile == PROFILE_HSP || u->profile == PROFILE_HFGW)
                     n_read = hsp_process_push(u);
                 else
                     n_read = a2dp_process_push(u);
-- 
1.7.1




More information about the pulseaudio-discuss mailing list