OSDN Git Service

Always ACK indications in the event of an error
authorTucker Sylvestro <tuckeris@google.com>
Thu, 18 Jun 2015 22:14:25 +0000 (18:14 -0400)
committerTucker Sylvestro <tuckeris@google.com>
Thu, 25 Jun 2015 20:23:14 +0000 (16:23 -0400)
commitdd2021c65b8a1a14e67e4f23628b3e15faf9fdcc
tree820e6574a1f7d0457d92206451cf576bbc4d3318
parentd9663b2d7ab5457cb9ab6fe39dcadb191e8f1012
Always ACK indications in the event of an error

This works around a race condition in which the just-connected remote
device sends the local device an indication before the appropriate
handle/device/etc. has been added to the cache.  Previously we were
dropping that indication, which led to the remote device timing out
and disconnecting some time after the connection had been successfully
established.

Bug: 21026847

Change-Id: Iea43e7c93e48b5e7a7e78a1c3fb591d6fe972fc3
bta/gatt/bta_gattc_act.c