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

Commit 06ccd725 authored by Jakub Pawlowski's avatar Jakub Pawlowski
Browse files

Do not use Multi-Adv instance 0 in VSC

Bug: 36365653
Test: manual
Change-Id: If44b2f0206bab91fa77f2a1ff68d83e1593f28e2
parent 17e8e1ea
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.