diff options
author | Simon Fels <simon.fels@canonical.com> | 2015-10-05 13:33:09 +0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2015-10-05 11:46:30 -0500 |
commit | 5a7410e9e4b977b2412047e22ddd53930ad1e058 (patch) | |
tree | 5809aadb9b597220a1288961752d01fce3347018 /plugins | |
parent | 8929d131a3332a491b5303f2b09b636e2992baae (diff) | |
download | ofono-5a7410e9e4b977b2412047e22ddd53930ad1e058.tar.bz2 |
handsfree-audio: add type for our audio cards
When registering audio cards for the handsfree and gateway roles we
need a way for our users to differentiate between both to decide which
of them they start using for their purpose.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/hfp_hf_bluez5.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/hfp_hf_bluez5.c b/plugins/hfp_hf_bluez5.c index 713c7896..6ae98b3c 100644 --- a/plugins/hfp_hf_bluez5.c +++ b/plugins/hfp_hf_bluez5.c @@ -589,7 +589,9 @@ static DBusMessage *profile_new_connection(DBusConnection *conn, if (version >= HFP_VERSION_1_6) driver = HFP16_HF_DRIVER; - hfp->card = ofono_handsfree_card_create(0, driver, hfp); + hfp->card = ofono_handsfree_card_create(0, + OFONO_HANDSFREE_CARD_TYPE_HANDSFREE, + driver, hfp); ofono_handsfree_card_set_data(hfp->card, hfp); ofono_handsfree_card_set_local(hfp->card, local); |