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

Commit fb60eae6 authored by Jeremy Wu's avatar Jeremy Wu
Browse files

Floss: remove workaround that skips MSBC for Flex

This CL removes the workaround for Flex. This should be merged only
after crrev.com/c/5312827 has merged.

Bug: 321180937
Test: m Bluetooth
Flag: EXEMPT floss only changes
Change-Id: I64e2488300c75e0826692b8186f9d905a97dbf5c
parent 15959181
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -118,12 +118,6 @@ void cache_codec_capabilities(struct mgmt_rp_get_codec_capabilities* rp) {
        c.pkt_size = rp->wbs_pkt_len;
        break;
      case kCodecMsbc:
        if (!rp->transparent_wbs_supported) {
          // TODO(b/321180937): Remove this after the audio server could query
          // the offload capability from Floss and enable it properly.
          // This is a workaround for HFP to work on some CrOS Flex devices.
          continue;
        }
        offload_supported = true;
        c.inner.codec = codec::MSBC;
        c.inner.data_path = rp->hci_data_path_id;