This makes sure that pa_card_new doesn't select one profile based on
priority which may conflict with audio policy.
d = PA_CARD_PROFILE_DATA(p);
*d = PA_BLUEZ4_PROFILE_OFF;
pa_hashmap_put(data.profiles, p->name, p);
+ pa_card_new_data_set_profile(&data, "off");
if ((default_profile = pa_modargs_get_value(u->modargs, "profile", NULL))) {
if (pa_hashmap_get(data.profiles, default_profile))
p = PA_CARD_PROFILE_DATA(cp);
*p = PA_BLUETOOTH_PROFILE_OFF;
pa_hashmap_put(data.profiles, cp->name, cp);
+ pa_card_new_data_set_profile(&data, "off");
u->card = pa_card_new(u->core, &data);
pa_card_new_data_done(&data);