summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorFrédéric Danis <frederic.danis@linux.intel.com>2013-01-29 11:42:39 +0100
committerDenis Kenzior <denkenz@gmail.com>2013-01-30 22:09:52 -0600
commit3e9a836afdd5d1b0581afd2395deff55bdf7a758 (patch)
treef19f397d7fe1222b234dc19cb34566d9fd679791 /plugins
parent5b56668f1eee62199a9c7ec5e416393a65db7bf5 (diff)
downloadofono-3e9a836afdd5d1b0581afd2395deff55bdf7a758.tar.bz2
bluetooth: Rename HFP AG plugin
As BlueZ 5 introduced backwards incompatible API changes, and we want to keep support for BlueZ 4 based HFP AG plugin for some time, we need to separate HFP AG plugin which is based on BlueZ 4 from the one based on BlueZ 5. The hfp_ag.c plugin is renamed to hfp_ag_bluez4. This will make it easy to add an HFP AG plugin for BlueZ 5.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/hfp_ag_bluez4.c (renamed from plugins/hfp_ag.c)5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/hfp_ag.c b/plugins/hfp_ag_bluez4.c
index 12374ad8..039b665e 100644
--- a/plugins/hfp_ag.c
+++ b/plugins/hfp_ag_bluez4.c
@@ -213,5 +213,6 @@ static void hfp_ag_exit(void)
}
}
-OFONO_PLUGIN_DEFINE(hfp_ag, "Hands-Free Audio Gateway Profile Plugins", VERSION,
- OFONO_PLUGIN_PRIORITY_DEFAULT, hfp_ag_init, hfp_ag_exit)
+OFONO_PLUGIN_DEFINE(hfp_ag_bluez4, "Hands-Free Audio Gateway Profile Plugins",
+ VERSION, OFONO_PLUGIN_PRIORITY_DEFAULT,
+ hfp_ag_init, hfp_ag_exit)