Diff between 965a283084be64ef313579e1832fb165a1663892 and cd8197d5b1d4bc8fdd21170a0c9f984ccd0783f9

Changed Files

File Additions Deletions Status
src/hcid.h +0 -1 modified
src/main.c +0 -11 modified
src/main.conf +0 -6 modified

Full Patch

diff --git a/src/hcid.h b/src/hcid.h
index 552d63b..62e2bd6 100644
--- a/src/hcid.h
+++ b/src/hcid.h
@@ -38,7 +38,6 @@ typedef enum {
 struct main_opts {
 	char		*name;
 	uint32_t	class;
-	uint16_t	autoto;
 	uint32_t	pairto;
 	uint32_t	discovto;
 	uint8_t		privacy;
diff --git a/src/main.c b/src/main.c
index fc50bbd..21f0b14 100644
--- a/src/main.c
+++ b/src/main.c
@@ -82,7 +82,6 @@ static const char *supported_options[] = {
 	"Class",
 	"DiscoverableTimeout",
 	"PairableTimeout",
-	"AutoConnectTimeout",
 	"DeviceID",
 	"ReverseServiceDiscovery",
 	"NameResolving",
@@ -297,16 +296,6 @@ static void parse_config(GKeyFile *config)
 		main_opts.pairto = val;
 	}
 
-	val = g_key_file_get_integer(config, "General", "AutoConnectTimeout",
-									&err);
-	if (err) {
-		DBG("%s", err->message);
-		g_clear_error(&err);
-	} else {
-		DBG("auto_to=%d", val);
-		main_opts.autoto = val;
-	}
-
 	str = g_key_file_get_string(config, "General", "Privacy", &err);
 	if (err) {
 		DBG("%s", err->message);
diff --git a/src/main.conf b/src/main.conf
index ba17405..21986b3 100644
--- a/src/main.conf
+++ b/src/main.conf
@@ -18,12 +18,6 @@
 # 0 = disable timer, i.e. stay pairable forever
 #PairableTimeout = 0
 
-# Automatic connection for bonded devices driven by platform/user events.
-# If a platform plugin uses this mechanism, automatic connections will be
-# enabled during the interval defined below. Initially, this feature
-# intends to be used to establish connections to ATT channels. Default is 60.
-#AutoConnectTimeout = 60
-
 # Use vendor id source (assigner), vendor, product and version information for
 # DID profile support. The values are separated by ":" and assigner, VID, PID
 # and version.