OSDN Git Service

HID: Reset outgoing connection retry to 1
authorHemant Gupta <hemantg@codeaurora.org>
Fri, 4 Mar 2016 17:19:55 +0000 (22:49 +0530)
committerAndre Eisenbach <eisenbach@google.com>
Fri, 25 Mar 2016 20:09:53 +0000 (13:09 -0700)
Reduce the retry time from host to 1 from 3 to prevent collision scenarios
when remote also tries to connect which could lead to potential authentication
issues in SoC.

Bug: 27852645
Change-Id: I3b5db4a4c4aa985cb9c0537499ce608f9e5d5522

include/bt_target.h

index f47dbb7..89c472a 100644 (file)
 #endif
 
 #ifndef HID_HOST_MAX_CONN_RETRY
-#define HID_HOST_MAX_CONN_RETRY     (3)
+#define HID_HOST_MAX_CONN_RETRY     (1)
 #endif
 
 #ifndef HID_HOST_REPAGE_WIN