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

Commit 20d90da1 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "[MTK][CONVERGENCE][ALPS07830065] Use 1M to response" into main

parents f9834b95 d68a5c5a
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -167,11 +167,11 @@ void BTM_BleReadPhy(const RawAddress& bd_addr,
    return;
  }

  // checking if local controller supports it!
  // The connection PHY is always LE_1M when the controller supports
  // neither LE_2M nor LE_CODED PHYs.
  if (!bluetooth::shim::GetController()->SupportsBle2mPhy() &&
      !bluetooth::shim::GetController()->SupportsBleCodedPhy()) {
    log::error("request not supported in local controller!");
    cb.Run(0, 0, GATT_REQ_NOT_SUPPORTED);
    cb.Run(1, 1, HCI_SUCCESS);
    return;
  }