Reset vendor power state while BT power on.
Use case: SSR or other similar cases when Bluetooth process
is killed abruptly without cleanup.
Steps: SSR or command timeout cases where Bluetooth process
gets killed abruptly.
Failure: Since, vendor cleanup is not done properly, next
BT enable fails.
Root cause: Vendor power state was not reset.
Fix: Added check for previous known vendor state and send
vendor power off while enabling BT if it is not in off state.
Bug:29243594
Change-Id: I5394f1e0ca8a581fc43efc7440a08aa9b520929d
1 file changed