commit | f1f9fb993e77a680a3cbaba96019b82ec9343792 | [log] [tgz] |
---|---|---|
author | Andre Eisenbach <eisenbach@google.com> | Thu Sep 10 21:41:39 2015 -0700 |
committer | Andre Eisenbach <eisenbach@google.com> | Wed Oct 21 20:51:51 2015 +0000 |
tree | 157a6ae5e28031b8a7565b8d297d08618886dc63 | |
parent | 92583c4ccabaebe785ad3043710e8bc61f7686ab [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