From: Jo?o Paulo Rechi Vita <jprvita@xxxxxxxxxxxxx> --- src/modules/bluetooth/module-bluetooth-device.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/modules/bluetooth/module-bluetooth-device.c b/src/modules/bluetooth/module-bluetooth-device.c index a1d8690..ace99e8 100644 --- a/src/modules/bluetooth/module-bluetooth-device.c +++ b/src/modules/bluetooth/module-bluetooth-device.c @@ -2138,6 +2138,16 @@ static pa_card_profile *create_card_profile(struct userdata *u, pa_bluetooth_tra d = PA_CARD_PROFILE_DATA(p); *d = PROFILE_HFGW; + } else if (t->profile == PROFILE_HFP_AG) { + p = pa_card_profile_new("hfp_ag", _("Handsfree Audio Gateway"), sizeof(enum profile)); + p->priority = 20; + p->n_sinks = 1; + p->n_sources = 1; + p->max_sink_channels = 1; + p->max_source_channels = 1; + + d = PA_CARD_PROFILE_DATA(p); + *d = PROFILE_HFP_AG; } if (p) -- 1.7.11.7