summaryrefslogtreecommitdiffstats
path: root/plugins/hfp_ag_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_ag_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_ag_bluez5.c')
-rw-r--r--plugins/hfp_ag_bluez5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/hfp_ag_bluez5.c b/plugins/hfp_ag_bluez5.c
index 80dd6010..03a46fb7 100644
--- a/plugins/hfp_ag_bluez5.c
+++ b/plugins/hfp_ag_bluez5.c
@@ -163,7 +163,7 @@ static void sim_state_watch(enum ofono_sim_state new_state, void *data)
if (modems != NULL)
return;
- bluetooth_unregister_profile(conn, HFP_AG_EXT_PROFILE_PATH);
+ bt_unregister_profile(conn, HFP_AG_EXT_PROFILE_PATH);
return;
}
@@ -176,7 +176,7 @@ static void sim_state_watch(enum ofono_sim_state new_state, void *data)
if (modems->next != NULL)
return;
- bluetooth_register_profile(conn, HFP_AG_UUID, "hfp_ag",
+ bt_register_profile(conn, HFP_AG_UUID, "hfp_ag",
HFP_AG_EXT_PROFILE_PATH);
}