From: Maarten Lankhorst Date: Fri, 10 Dec 2010 19:34:05 +0000 (+0100) Subject: bluetooth: Fix a2dp processing X-Git-Tag: submit/2.0-panda/20130828.192557~877 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=01a853e0c0c85a9c41742d7b1427ce7a41cc3162;p=profile%2Fivi%2Fpulseaudio-panda.git bluetooth: Fix a2dp processing --- 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);