commit | ace8d679f68cfab4c022d00afc7e5daafc74a4fd | [log] [tgz] |
---|---|---|
author | Andre Eisenbach <andre@broadcom.com> | Fri Jul 12 12:49:33 2013 -0700 |
committer | Matthew Xie <mattx@google.com> | Wed Aug 14 00:05:26 2013 -0700 |
tree | 94f1d1e145d032c91f74017364ee929f631ba69c | |
parent | 5f9c140d094ebf4a269cdc6ae083900bf25f7fae [diff] |
LE: Check encryption state before starting encryption Previously, the btif layer kept track of when a link was encrypted using an internal list to track encryptino callbacks. This change switches to querying the stack for the actual encryption state, since the btif layer may not receive all encryption related callbacks. Bug: BLTH02382147 Change-Id: I426b87d77e9a18531c2d42733a7e736a73bb116f