commit | 7be5b1dfd5e111802d1ccc04c9fc60e6dcb2ed9b | [log] [tgz] |
---|---|---|
author | Mingshu Pang <mpang@codeaurora.org> | Wed Mar 04 15:24:38 2020 +0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Mon Mar 09 21:21:24 2020 -0700 |
tree | 5ee9a3a1b7dad41f1aa6e549b9af32994698d41b | |
parent | 431207df37a795974b004f58fc514e90249f5c92 [diff] |
hal:Add the check of bt_sco_on before SCO configuration If trying to start sco configuration when bt_sco is off a2dp.swb_configured will be set true, which will cause a2dp path can't start output stream normally. Add the check of adev->bt_sco_on before trying to start SCO configuration when enabling bt-sco device. CRs-Fixed: 2615901 Change-Id: Iedfa6a0477880893960ff6badac99dc309d95715