Commit 7b1e2810 authored by pali's avatar pali

fixup! bluetooth: Add A2DP aptX and aptX HD codecs support

parent d5f64fa4
......@@ -103,9 +103,9 @@ static int cmp_endpoints_common(const a2dp_aptx_t *capabilities1, const a2dp_apt
if (freq1 > freq2)
return 1;
} else if (freq1) {
return freq1;
return -1;
} else if (freq2) {
return freq2;
return 1;
} else {
for (i = PA_ELEMENTSOF(freq_table)-1; i >= 0; i--) {
if (capabilities1->frequency & freq_table[i].cap)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment