From 01a853e0c0c85a9c41742d7b1427ce7a41cc3162 Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Fri, 10 Dec 2010 20:34:05 +0100 Subject: bluetooth: Fix a2dp processing --- src/modules/bluetooth/module-bluetooth-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/bluetooth') diff --git a/src/modules/bluetooth/module-bluetooth-device.c b/src/modules/bluetooth/module-bluetooth-device.c index c7ac7fa6..6d31c1eb 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); -- cgit