hc
2023-02-13 e440ec23c5a540cdd3f7464e8779219be6fd3d95
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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