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

Commit fa103d28 authored by Joseph Pirozzo's avatar Joseph Pirozzo
Browse files

Enable 2-EV3 packets for Wide Band HFP client

The previous code defaulted to the failsafe settings rather than the
prefered settings when accepting an eSCO connection for Wide Band
Speech, this change will enable the T2 (2-EV3) packets.

Bug: 110227849
Test: Connect to phone, place call, verify 2-EV3 packets via HCI logs.
Change-Id: I0c215249b16cfcd4d79137fa80b0d9cc1992c9da
parent f35943c8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -112,7 +112,7 @@ static void bta_hf_client_sco_conn_rsp(tBTA_HF_CLIENT_CB* client_cb,
      resp = esco_parameters_for_codec(ESCO_CODEC_CVSD);
    } else {
      if (client_cb->negotiated_codec == BTA_AG_CODEC_MSBC) {
        resp = esco_parameters_for_codec(ESCO_CODEC_MSBC_T1);
        resp = esco_parameters_for_codec(ESCO_CODEC_MSBC_T2);
      } else {
        // default codec
        resp = esco_parameters_for_codec(ESCO_CODEC_CVSD);