diff options
author | Vinicius Costa Gomes <vinicius.gomes@openbossa.org> | 2013-04-23 18:21:50 -0300 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2013-04-25 03:38:11 -0500 |
commit | 48cb2e5249d56ddb796440cb81ce824adc8ead16 (patch) | |
tree | bf6988ea0f2b53e26d06d2e991314840b7cd97a0 /plugins/hfp_hf_bluez5.c | |
parent | 9a3cfcd109515026d82243e156bd691dc9c51aa2 (diff) | |
download | ofono-48cb2e5249d56ddb796440cb81ce824adc8ead16.tar.bz2 |
bluez5: Unify bt_register_profile_* into a single function
It was a cause of confusion for little gain to have separate
functions for registering profiles with extra information, for
example "role" and "features". We remove those helper functions
in favor of a single one with more parameters, "role" and
"feature" when NULL, will be ignored.
Diffstat (limited to 'plugins/hfp_hf_bluez5.c')
-rw-r--r-- | plugins/hfp_hf_bluez5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/hfp_hf_bluez5.c b/plugins/hfp_hf_bluez5.c index 2b9275b3..826796f0 100644 --- a/plugins/hfp_hf_bluez5.c +++ b/plugins/hfp_hf_bluez5.c @@ -639,7 +639,7 @@ static void connect_handler(DBusConnection *conn, void *user_data) DBG("Registering External Profile handler ..."); bt_register_profile(conn, HFP_HS_UUID, HFP_VERSION_1_6, "hfp_hf", - HFP_EXT_PROFILE_PATH); + HFP_EXT_PROFILE_PATH, NULL, 0); } static gboolean has_hfp_ag_uuid(DBusMessageIter *array) |