diff options
author | Frédéric Danis <frederic.danis@linux.intel.com> | 2013-03-12 14:01:29 +0100 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2013-03-21 10:08:41 -0500 |
commit | 8a1bd0d6570951f69949f9c9cf1a12e8aab63453 (patch) | |
tree | 858b1deee73252633a7dec082bf2f2606caf1de4 | |
parent | 9dd517a948abd9dca2afe50d3d475b4cc0ac34f4 (diff) | |
download | ofono-8a1bd0d6570951f69949f9c9cf1a12e8aab63453.tar.bz2 |
bluetooth: Rename DUN GW plugin
As BlueZ 5 introduced backwards incompatible API changes, and we want to
keep support for BlueZ 4 based DUN GW plugin for some time, we need to
separate DUN GW plugin which is based on BlueZ 4 from the one based on
BlueZ 5.
The dun_gw.c plugin is renamed to dun_gw_bluez4. This will make it easy
to add a DUN GW plugin for BlueZ 5.
-rw-r--r-- | Makefile.am | 4 | ||||
-rw-r--r-- | plugins/dun_gw_bluez4.c (renamed from plugins/dun_gw.c) | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am index 3b998af7..bf4806b5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -425,8 +425,8 @@ builtin_sources += plugins/hfp_hf_bluez4.c plugins/bluez4.h builtin_modules += hfp_ag_bluez4 builtin_sources += plugins/hfp_ag_bluez4.c plugins/bluez4.h -builtin_modules += dun_gw -builtin_sources += plugins/dun_gw.c plugins/bluez4.h +builtin_modules += dun_gw_bluez4 +builtin_sources += plugins/dun_gw_bluez4.c plugins/bluez4.h builtin_modules += connman builtin_sources += plugins/connman.c diff --git a/plugins/dun_gw.c b/plugins/dun_gw_bluez4.c index fc8bde43..a1de7a47 100644 --- a/plugins/dun_gw.c +++ b/plugins/dun_gw_bluez4.c @@ -167,5 +167,6 @@ static void dun_gw_exit(void) } } -OFONO_PLUGIN_DEFINE(dun_gw, "Dial-up Networking Profile Plugins", VERSION, - OFONO_PLUGIN_PRIORITY_DEFAULT, dun_gw_init, dun_gw_exit) +OFONO_PLUGIN_DEFINE(dun_gw_bluez4, "Dial-up Networking Profile Plugins", + VERSION, OFONO_PLUGIN_PRIORITY_DEFAULT, + dun_gw_init, dun_gw_exit) |