[pulseaudio-commits] src/modules
Tanu Kaskinen
tanuk at kemper.freedesktop.org
Fri Dec 13 23:35:44 PST 2013
src/modules/bluetooth/module-bluetooth-policy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 643eb5bae2c58246657cdfebe19002da2cee292e
Author: Tanu Kaskinen <tanu.kaskinen at linux.intel.com>
Date: Sat Dec 14 09:29:24 2013 +0200
bluetooth: Fix profile priority comparison
BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=72414
diff --git a/src/modules/bluetooth/module-bluetooth-policy.c b/src/modules/bluetooth/module-bluetooth-policy.c
index a5e9985..06f9f1c 100644
--- a/src/modules/bluetooth/module-bluetooth-policy.c
+++ b/src/modules/bluetooth/module-bluetooth-policy.c
@@ -147,7 +147,7 @@ static pa_card_profile *find_best_profile(pa_card *card) {
if (result == NULL ||
(profile->available == PA_AVAILABLE_YES && result->available == PA_AVAILABLE_UNKNOWN) ||
- (profile->available == result->available && profile->priority > profile->priority))
+ (profile->available == result->available && profile->priority > result->priority))
result = profile;
}
More information about the pulseaudio-commits
mailing list