diff mbox series

[BlueZ,v1,1/1] Autoconnecttimeout max value increased to 20000 msecs from 16384 msecs

Message ID 20240329063534.56892-2-mahesh.talewad@nxp.com
State New
Headers show
Series Autoconnecttimeout max value increased to 20000 msecs | expand

Commit Message

Mahesh Talewad March 29, 2024, 6:35 a.m. UTC
- In implementation Autoconnecttimeout max value is 16384 msecs.
   Increased this Autoconnecttimeout max value to 20000 msecs.

Signed-off-by: Mahesh Talewad <mahesh.talewad@nxp.com>
---
 src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/src/main.c b/src/main.c
index b1339c230..8ce72badc 100644
--- a/src/main.c
+++ b/src/main.c
@@ -656,7 +656,7 @@  static void parse_le_config(GKeyFile *config)
 		  &btd_opts.defaults.le.autoconnect_timeout,
 		  sizeof(btd_opts.defaults.le.autoconnect_timeout),
 		  0x0001,
-		  0x4000},
+		  0x4E20},
 		{ "AdvMonAllowlistScanDuration",
 		  &btd_opts.defaults.le.advmon_allowlist_scan_duration,
 		  sizeof(btd_opts.defaults.le.advmon_allowlist_scan_duration),