summaryrefslogtreecommitdiffstats
path: root/src/modules/bluetooth
diff options
context:
space:
mode:
authorMaarten Lankhorst <m.b.lankhorst@gmail.com>2010-12-10 20:34:05 +0100
committerColin Guthrie <cguthrie@mandriva.org>2010-12-12 20:26:10 +0000
commit01a853e0c0c85a9c41742d7b1427ce7a41cc3162 (patch)
treef14a3ee24629dc4583de1990e6f09fc4dfa65b04 /src/modules/bluetooth
parent37d456655fd6758143aeec20def695ca16577555 (diff)
bluetooth: Fix a2dp processing
Diffstat (limited to 'src/modules/bluetooth')
-rw-r--r--src/modules/bluetooth/module-bluetooth-device.c2
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 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);