Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 871c522e authored by Hsin-chen Chuang's avatar Hsin-chen Chuang
Browse files

btm_sco_hfp_hal_linux: Fix codec info for legacy devices

Some legacy devices don't even support HCI command Read Local Supported
Codecs, while https://r.android.com/2919865 actually relies on this
command to set up the correct codec info. This patch sets up TRANSPARENT
and CVSD without this command (follow original kernel behavior) and also
remove an unused structure.

Bug: 327547486
Tag: #floss
Test: mmm packages/modules/Bluetooth
Test: bluetooth_AdapterAUHealth.au_hfp_wbs_dut_as_sink_test.floss
      on Zork/Ezkinil (RTL8822C)
Flag: EXEMPT, Floss-only changes

Change-Id: I7c0becd09f37968464a59d891ab18c3b40efeb08
parent d19a2fa2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment