OSDN Git Service

Do not use Multi-Adv instance 0 in VSC
authorJakub Pawlowski <jpawlowski@google.com>
Mon, 20 Mar 2017 17:33:25 +0000 (10:33 -0700)
committerJakub Pawlowski <jpawlowski@google.com>
Mon, 20 Mar 2017 22:04:32 +0000 (22:04 +0000)
Bug: 36365653
Test: manual
Change-Id: If44b2f0206bab91fa77f2a1ff68d83e1593f28e2

stack/btm/ble_advertiser_hci_interface.cc

index c527278..93d02fc 100644 (file)
@@ -224,14 +224,9 @@ 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()) {
-      LOG(INFO) << "QuirkAdvertiserZeroHandle in use";
-      return true;
-    }
-
-    return false;
+    // commands.
+    LOG(INFO) << "QuirkAdvertiserZeroHandle in use";
+    return true;
   }
 
   void RemoveAdvertisingSet(uint8_t handle,