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

Commit 740279a0 authored by Jakub Pawlowski's avatar Jakub Pawlowski Committed by android-build-merger
Browse files

Do not use Multi-Adv instance 0 in VSC am: 06ccd725 am: ad18e94b

am: 4cc1506a

Change-Id: Ife43fb0cebebd109950f4a66bb5cd364dc13b2ee
parents fff8563e 4cc1506a
Loading
Loading
Loading
Loading
+3 −8
Original line number Diff line number Diff line
@@ -224,16 +224,11 @@ class BleAdvertiserVscHciInterfaceImpl : public BleAdvertiserHciInterface {
  bool QuirkAdvertiserZeroHandle() override {
    // Android BT HCI Requirements version 0.96 and below specify that handle 0
    // is equal to standard HCI interface, and should be accessed using non-VSC
    // commands. Broadcom controllers are strict about this requirement, so
    // don't use 0 handle.
    if (BTM_IS_BRCM_CONTROLLER()) {
    // commands.
    LOG(INFO) << "QuirkAdvertiserZeroHandle in use";
    return true;
  }

    return false;
  }

  void RemoveAdvertisingSet(uint8_t handle,
                            status_cb command_complete) override {
    // VSC Advertising don't have remove method.