commit | 424ffd0da56d818510000acd56b23824c960d7d7 | [log] [tgz] |
---|---|---|
author | Lianchao Song <songlianchao@huawei.com> | Mon Dec 25 17:29:40 2017 +0800 |
committer | Myles Watson <mylesgw@google.com> | Tue Jan 09 21:14:47 2018 +0000 |
tree | 00c0fb700d00a4fc653f05db588fe4a40fc9bc43 | |
parent | 207e97c7354050cd5162feb45a1e1d51aab048f0 [diff] |
BT Interface: fix hci cmd timeout Add mutex in function Send() and OnTimeout() to do mutual exclusive access on lpm_wake_deasserted. If lpm_wake_deasserted is out of sync with the actual wake state, then platforms which use the lpm hint will break. Bug: 64299848 Test: run affected platform for a long period of time and find that hci commands do not time out Change-Id: I9f630d6f40f84b9c047c6488632cd44d6602bb14