commit | 90d19e98706a28fb255c56f52e16aa42af9e5747 | [log] [tgz] |
---|---|---|
author | Nitin Arora <niarora@codeaurora.org> | Thu Jul 02 14:08:39 2015 -0700 |
committer | Andre Eisenbach <eisenbach@google.com> | Wed Jul 29 00:51:45 2015 -0700 |
tree | 1423494c733d88c41c33519f8967e3dfb6a00a8f | |
parent | ac2f0593e5b6e89262913858fdd59ba62abc3d8b [diff] |
Reset LE encryption key size at LE disconnection only This change checks the transport type on receiving the disconnection and resets the encryption key size only if the LE disconnection has taken place. This fixes the issue where read request to characteristics that require encryption, fails after cross key derivation due to disconnection of BR/EDR transport. Bug: 22515016 Change-Id: If6aad91a628eabbb5a4b7f5c22812fe94d4c5db2