Diff between 91b4b3633d2b63cf5c622bcd54b5829a0496e97d and 8efc4e221f4a89e7cfe71bc10702d99279df7d42

Changed Files

File Additions Deletions Status
plugins/gatt-example.c +0 -8 modified

Full Patch

diff --git a/plugins/gatt-example.c b/plugins/gatt-example.c
index cd2c481..2d9ffe2 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);
 }