diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2007-11-13 19:12:44 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2007-11-13 19:12:44 +0000 |
commit | 1d85e2973463f7b194a4c31bd9c5954822cf3022 (patch) | |
tree | dad10e6b0266520e8a93a6b358c0891cdc41dea8 | |
parent | b1c42bfbbcabbb056820490500e78371ceda0818 (diff) |
Fix double-check for HSP instead of checking HFP
-rw-r--r-- | audio/manager.c | 2 |
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; |