OSDN Git Service

BTM_PM: Try other pending changes when current one failed
authorHansong Zhang <hsz@google.com>
Fri, 23 Jul 2021 21:38:57 +0000 (14:38 -0700)
committerHansong Zhang <hsz@google.com>
Mon, 26 Jul 2021 17:33:41 +0000 (10:33 -0700)
commit5de15fd5c5b63a6fd0b27e12a2185ae0454f407b
treec62b293b45c42e8f84a23a62842a4a5deb8cd244
parentab4c8a15b628d125ec78c77b78c1123a108331d5
BTM_PM: Try other pending changes when current one failed

When we receive a non-SUCCESS command status for pm change, we should
not stop here; there might be some other pending pm changes in the
queue.  We need to try the remaining ones.

Test: Disconnect a device when there is a pending PM change
Tag: #stability
Bug: 180842489
Bug: 184095368
Change-Id: I31a6f96cd3b47e671141c29801f4d7397787fc51
Merged-In: I31a6f96cd3b47e671141c29801f4d7397787fc51
stack/acl/btm_pm.cc