OSDN Git Service

DO NOT MERGE ANYWHERE Check ACL link on non-opportunistic connection creation
authorJacky Cheung <jackyc@google.com>
Wed, 10 May 2017 21:23:06 +0000 (14:23 -0700)
committerJacky Cheung <jackyc@google.com>
Thu, 11 May 2017 20:08:51 +0000 (13:08 -0700)
commit0ce25115e90dc847a29d564aa82d6710961dac4e
tree00d9ab5e24ea6ad085f2c603faff6d98e7954993
parent7d3de37da06ec9e37f09aea7b43348354ae5deb2
DO NOT MERGE ANYWHERE Check ACL link on non-opportunistic connection creation

At the time of connection, the idle timeout could have been set to a fixed
value, which is likely to be related to the completion of service discovery
after bonding.  A check on ACL link allows the idle timeout to be reset to no
timeout, which would eliminate local host disconnections observed due to
idle timeouts.

Bug: 37352720
Test: manual
Change-Id: Ie0b24b83020d502cf7c55421a27659215253b4d2
stack/gatt/gatt_main.c