diff options
author | Tanu Kaskinen <tanu.kaskinen@linux.intel.com> | 2013-12-14 09:29:24 +0200 |
---|---|---|
committer | Tanu Kaskinen <tanu.kaskinen@linux.intel.com> | 2013-12-14 09:34:21 +0200 |
commit | 643eb5bae2c58246657cdfebe19002da2cee292e (patch) | |
tree | a30e7ed0d3ad4deb3eb06e0e2198a4048731f89e | |
parent | 6f954c76745acaaa8cae5a569702e23e83115b3b (diff) |
bluetooth: Fix profile priority comparison
BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=72414
-rw-r--r-- | src/modules/bluetooth/module-bluetooth-policy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/bluetooth/module-bluetooth-policy.c b/src/modules/bluetooth/module-bluetooth-policy.c index a5e99855..06f9f1ca 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; } |