From a093eb49330b772b192323ce172f49c94654c76f Mon Sep 17 00:00:00 2001
|
From: ctf <ctf@rock-chips.com>
|
Date: Mon, 23 Dec 2019 16:16:24 +0800
|
Subject: [PATCH 14/19] not load hog plugin
|
|
Signed-off-by: ctf <ctf@rock-chips.com>
|
---
|
src/plugin.c | 5 +++++
|
1 file changed, 5 insertions(+)
|
mode change 100644 => 100755 src/plugin.c
|
|
diff --git a/src/plugin.c b/src/plugin.c
|
old mode 100644
|
new mode 100755
|
index 0176ae1..eb9def1
|
--- a/src/plugin.c
|
+++ b/src/plugin.c
|
@@ -72,6 +72,11 @@ static gboolean add_plugin(void *handle, struct bluetooth_plugin_desc *desc)
|
return FALSE;
|
}
|
|
+ if (strcmp(desc->name, "hog") == 0) {
|
+ DBG("not load %s plugin", desc->name);
|
+ return FALSE;
|
+ }
|
+
|
DBG("Loading %s plugin", desc->name);
|
|
plugin = g_try_new0(struct bluetooth_plugin, 1);
|
--
|
2.20.1
|