OSDN Git Service

LE: Fix crash on LE mouse reconnect
authorAndre Eisenbach <andre@broadcom.com>
Mon, 24 Jun 2013 20:19:13 +0000 (13:19 -0700)
committerMatthew Xie <mattx@google.com>
Wed, 14 Aug 2013 01:24:20 +0000 (18:24 -0700)
commitad839868b5aed781ba54af620e439e5c96ee019a
tree651c4ba977e750cb2a8634e2dfa8044d1be640ee
parent4b63869f02e5860244fcc7f2f62e818ee702a74b
LE: Fix crash on LE mouse reconnect

Sometimes, a GKI exception may be observed when re-connecting to an LE
mouse. This patch properly handles the encryption state change, avoiding
a possible race condition leading to the exception.

Change-Id: I4cf139c1ac22e71b598272fccebf645cd73fdf6a
stack/btu/btu_hcif.c