From 8efc4e221f4a89e7cfe71bc10702d99279df7d42 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 9 Nov 2012 20:37:17 +0100 Subject: [PATCH] plugins: Remove GATT enable option --- plugins/gatt-example.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/plugins/gatt-example.c b/plugins/gatt-example.c index cd2c4819a..2d9ffe22e 100644 --- a/plugins/gatt-example.c +++ b/plugins/gatt-example.c @@ -563,19 +563,11 @@ static struct btd_adapter_driver gatt_example_adapter_driver = { static int gatt_example_init(void) { - if (!main_opts.gatt_enabled) { - DBG("GATT is disabled"); - return -ENOTSUP; - } - return btd_register_adapter_driver(&gatt_example_adapter_driver); } static void gatt_example_exit(void) { - if (!main_opts.gatt_enabled) - return; - btd_unregister_adapter_driver(&gatt_example_adapter_driver); } -- 2.47.3