bluetooth: Fix a2dp processing

This commit is contained in:
Maarten Lankhorst 2010-12-10 20:34:05 +01:00 committed by Colin Guthrie
parent 37d456655f
commit 01a853e0c0

View file

@ -1529,7 +1529,7 @@ static void thread_func(void *userdata) {
if (pollfd && (pollfd->revents & POLLIN)) { if (pollfd && (pollfd->revents & POLLIN)) {
int n_read; 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); n_read = hsp_process_push(u);
else else
n_read = a2dp_process_push(u); n_read = a2dp_process_push(u);