summaryrefslogtreecommitdiffstats
path: root/plugins/hfp_hf_bluez5.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2013-02-01 20:33:06 -0300
committerDenis Kenzior <denkenz@gmail.com>2013-02-14 08:47:10 -0600
commit86224f57241f7155917f9135b99394503ee94029 (patch)
tree0469dd5324656af3769601567bb0701f8526decc /plugins/hfp_hf_bluez5.c
parentf93a6a2d06617ef54b1ecd38800bbef541a1502b (diff)
downloadofono-86224f57241f7155917f9135b99394503ee94029.tar.bz2
bluez5: Rename BlueZ Profile registration functions
This patch renames external profile registration functions replacing the prefix from 'bluetooth_' to 'bt_' in order to follow the name convention adopted for bluez5 functions.
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);