[CrOS Tether] Rate-limit BLE discovery sessions.
There are race conditions in Bluetooth which can cause errors when starting and stopping discovery sessions too close to one another. In the worst case, these issues can cause a crash. This CL rate-limits BLE advertisements and scans to at most one per 200ms. This reduces the possibility of race conditions in the kernel. Bug: 768523, 672263 Change-Id: I985aec16b6f9cd80c385ab9af199daff4fb50ced Reviewed-on: https://chromium-review.googlesource.com/683756Reviewed-by:Ryan Hansberry <hansberry@chromium.org> Cr-Commit-Position: refs/heads/master@{#504291}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment