aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorChen Ganir <chen.ganir@ti.com>2012-03-19 16:57:52 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-03-26 12:12:00 +0300
commitf47e7204b47ba82ce1d6af29937e049de94f589a (patch)
treeb935f132fb537f8bab0d7be6e4f1b0b27efde62c /plugins
parente407e9ac6d8bfde31f95ed5d7e7bcecf0cfe48ed (diff)
downloadbluez-f47e7204b47ba82ce1d6af29937e049de94f589a.tar.gz
bluez-f47e7204b47ba82ce1d6af29937e049de94f589a.tar.xz
bluez-f47e7204b47ba82ce1d6af29937e049de94f589a.zip
GATT: Rename AttributeServer switch
Rename the AttributeServer main.conf option to EnableGatt and change its purpose to enable/disable all GATT related activity.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/gatt-example.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/gatt-example.c b/plugins/gatt-example.c
index f026761e..165d2184 100644
--- a/plugins/gatt-example.c
+++ b/plugins/gatt-example.c
@@ -560,7 +560,7 @@ static struct btd_adapter_driver gatt_example_adapter_driver = {
static int gatt_example_init(void)
{
- if (!main_opts.attrib_server) {
+ if (!main_opts.gatt_enabled) {
DBG("Attribute server is disabled");
return -ENOTSUP;
}
@@ -570,7 +570,7 @@ static int gatt_example_init(void)
static void gatt_example_exit(void)
{
- if (!main_opts.attrib_server)
+ if (!main_opts.gatt_enabled)
return;
btd_unregister_adapter_driver(&gatt_example_adapter_driver);