Commit 9ee4b72d authored by pali's avatar pali
Browse files

fixup! bluetooth: Set initial A2DP profile which bluez already activated

parent f3c0e6f1
......@@ -2083,7 +2083,7 @@ static void choose_initial_profile(struct userdata *u) {
continue;
/* Ignore non-A2DP profiles */
if (!pa_startswith(iter_profile->name, "a2dp_"))
if (!pa_bluetooth_profile_is_a2dp(transport->profile))
continue;
pa_log_debug("%s has active bluez transport", iter_profile->name);
......
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