]> code.delx.au - pulseaudio/commitdiff
bluetooth: Fix a2dp processing
authorMaarten Lankhorst <m.b.lankhorst@gmail.com>
Fri, 10 Dec 2010 19:34:05 +0000 (20:34 +0100)
committerColin Guthrie <cguthrie@mandriva.org>
Sun, 12 Dec 2010 20:26:10 +0000 (20:26 +0000)
src/modules/bluetooth/module-bluetooth-device.c

index c7ac7fa652ad34974bf878e5c5acb41f9500ab3b..6d31c1eb792bf7c7592b4620f43883d2b578f8e0 100644 (file)
@@ -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);