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

Commit 780e89f6 authored by Hsin-chen Chuang's avatar Hsin-chen Chuang Committed by Gerrit Code Review
Browse files

Merge "Floss: remove workaround that skips MSBC for Flex" into main

parents 14c5f38c fb60eae6
Loading
Loading
Loading
Loading
+0 −6
Original line number Original line 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;
        c.pkt_size = rp->wbs_pkt_len;
        break;
        break;
      case kCodecMsbc:
      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;
        offload_supported = true;
        c.inner.codec = codec::MSBC;
        c.inner.codec = codec::MSBC;
        c.inner.data_path = rp->hci_data_path_id;
        c.inner.data_path = rp->hci_data_path_id;