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

Commit dc1b005c authored by Chienyuan's avatar Chienyuan
Browse files

gd: Start vendor specific event manager when acl enable

Tag: #gd-refactor
Bug: 188118934
Test: gd/cert/run
Test: bluetooth_test_gd
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines

Change-Id: I6ff766d231fa5258ff10ec8ee62722f0a733eb83
parent e3a8ee69
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@
#include "gd/hci/hci_layer.h"
#include "gd/hci/le_advertising_manager.h"
#include "gd/hci/le_scanning_manager.h"
#include "gd/hci/vendor_specific_event_manager.h"
#include "gd/l2cap/classic/l2cap_classic_module.h"
#include "gd/l2cap/le/l2cap_le_module.h"
#include "gd/neighbor/connectability.h"
@@ -103,6 +104,7 @@ void Stack::StartEverything() {
    modules.add<hci::Controller>();
  }
  if (common::init_flags::gd_acl_is_enabled()) {
    modules.add<hci::VendorSpecificEventManager>();
    modules.add<hci::AclManager>();
  }
  if (common::init_flags::gd_l2cap_is_enabled()) {