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

Commit 4cc1506a 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

Change-Id: Id1019ba5f61cc252848800de0c03b616dacf4588
parents 5280c0b8 ad18e94b
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.