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

Commit ad18e94b 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

Change-Id: I76ca92cbc2161e44493df2f0ec329117f8ca0492
parents 08d97604 06ccd725
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.