summaryrefslogtreecommitdiffstats
path: root/audio/manager.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-11-13 19:12:44 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-11-13 19:12:44 +0000
commit1d85e2973463f7b194a4c31bd9c5954822cf3022 (patch)
treedad10e6b0266520e8a93a6b358c0891cdc41dea8 /audio/manager.c
parentb1c42bfbbcabbb056820490500e78371ceda0818 (diff)
Fix double-check for HSP instead of checking HFP
Diffstat (limited to 'audio/manager.c')
-rw-r--r--audio/manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/manager.c b/audio/manager.c
index 6c23923f..b0cc3340 100644
--- a/audio/manager.c
+++ b/audio/manager.c
@@ -638,7 +638,7 @@ struct device *manager_device_connected(bdaddr_t *bda, const char *uuid)
created = TRUE;
}
- if (!strcmp(uuid, HSP_AG_UUID) || !strcmp(uuid, HSP_AG_UUID)) {
+ if (!strcmp(uuid, HSP_AG_UUID) || !strcmp(uuid, HFP_AG_UUID)) {
if (device->headset)
return device;