OSDN Git Service

HOGP: Clear pending operations for a given device on connect
authorJakub Pawlowski <jpawlowski@google.com>
Mon, 13 Jun 2016 17:30:17 +0000 (10:30 -0700)
committerJakub Pawlowski <jpawlowski@google.com>
Fri, 17 Jun 2016 19:19:17 +0000 (12:19 -0700)
commit7c172b7df7d8cd6d0802e87b31fd85b69453e01f
tree1945dd893e3ceeac9ae29d18eb36506951fa4ec3
parent4f7602868052a6316d1237918c1332e6aab8a0b3
HOGP: Clear pending operations for a given device on connect

If there are any HID operations scheduled after disconnect, mark the
device as no longer executing after establishing connection. Otherwise
we'll be unable to send any HID commands to it.

Change-Id: Ie1bb622388a3bcb574dec3dde76ef4518ee1102f
(cherry picked from commit 4362b8c559575a83897a5af55202ce2c1d19925c)
bta/hh/bta_hh_le.cc