commit | bed7dde6ea501bacccddb07656fe42e20ab9170c | [log] [tgz] |
---|---|---|
author | Andre Eisenbach <eisenbach@google.com> | Thu Sep 10 21:41:39 2015 -0700 |
committer | Andre Eisenbach <eisenbach@google.com> | Tue Oct 20 18:09:13 2015 -0700 |
tree | 74ad6cb62f41efe698285e62df7565790492cf17 | |
parent | 1b77893f5d70611c2f94652a80d5fa38e8e3b0fd [diff] |
Workaround for H4 HCI stream corruption during LE scans Sometimes, during result-heavy LE scans, the UART byte stream can become corrupted, leading to assertions caused by mis-interpreting the bytes following the corruption. This workaround looks for tell-tale signs of a BLE event and attempts to skip the correct amount of bytes in the stream to re-synchronize onto a packet boundary. Bug: 23934838 Change-Id: Ifadaecf8077cb1defc7134c59c97302fca660f81