summaryrefslogtreecommitdiffstats
path: root/plugins/hfp_hf_bluez5.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/hfp_hf_bluez5.c')
-rw-r--r--plugins/hfp_hf_bluez5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/hfp_hf_bluez5.c b/plugins/hfp_hf_bluez5.c
index 2f4a89e3..cd3f9a65 100644
--- a/plugins/hfp_hf_bluez5.c
+++ b/plugins/hfp_hf_bluez5.c
@@ -429,7 +429,7 @@ static void connect_handler(DBusConnection *conn, void *user_data)
{
DBG("Registering External Profile handler ...");
- bluetooth_register_profile(conn, HFP_HS_UUID, "hfp_hf",
+ bt_register_profile(conn, HFP_HS_UUID, "hfp_hf",
HFP_EXT_PROFILE_PATH);
}
@@ -606,7 +606,7 @@ static void hfp_exit(void)
{
DBusConnection *conn = ofono_dbus_get_connection();
- bluetooth_unregister_profile(conn, HFP_EXT_PROFILE_PATH);
+ bt_unregister_profile(conn, HFP_EXT_PROFILE_PATH);
g_dbus_unregister_interface(conn, HFP_EXT_PROFILE_PATH,
BLUEZ_PROFILE_INTERFACE);
ofono_modem_driver_unregister(&hfp_driver);