Loading system/main/shim/stack.cc +7 −11 Original line number Diff line number Diff line Loading @@ -144,9 +144,7 @@ void Stack::StartEverything() { modules.add<hci::VendorSpecificEventManager>(); modules.add<hci::Controller>(); if (common::init_flags::gd_acl_is_enabled()) { modules.add<hci::AclManager>(); } if (common::init_flags::gd_l2cap_is_enabled()) { modules.add<l2cap::classic::L2capClassicModule>(); modules.add<l2cap::le::L2capLeModule>(); Loading Loading @@ -184,14 +182,12 @@ void Stack::StartEverything() { btm_ = new Btm(stack_handler_, stack_manager_.GetInstance<neighbor::InquiryModule>()); } if (common::init_flags::gd_acl_is_enabled()) { if (!common::init_flags::gd_core_is_enabled()) { acl_ = new legacy::Acl( stack_handler_, legacy::GetAclInterface(), controller_get_interface()->get_ble_acceptlist_size(), controller_get_interface()->get_ble_resolving_list_max_size()); } } if (!common::init_flags::gd_core_is_enabled()) { bluetooth::shim::hci_on_reset_complete(); } Loading Loading @@ -244,7 +240,7 @@ void Stack::Stop() { } // Make sure gd acl flag is enabled and we started it up if (common::init_flags::gd_acl_is_enabled() && acl_ != nullptr) { if (acl_ != nullptr) { acl_->FinalShutdown(); delete acl_; acl_ = nullptr; Loading Loading
system/main/shim/stack.cc +7 −11 Original line number Diff line number Diff line Loading @@ -144,9 +144,7 @@ void Stack::StartEverything() { modules.add<hci::VendorSpecificEventManager>(); modules.add<hci::Controller>(); if (common::init_flags::gd_acl_is_enabled()) { modules.add<hci::AclManager>(); } if (common::init_flags::gd_l2cap_is_enabled()) { modules.add<l2cap::classic::L2capClassicModule>(); modules.add<l2cap::le::L2capLeModule>(); Loading Loading @@ -184,14 +182,12 @@ void Stack::StartEverything() { btm_ = new Btm(stack_handler_, stack_manager_.GetInstance<neighbor::InquiryModule>()); } if (common::init_flags::gd_acl_is_enabled()) { if (!common::init_flags::gd_core_is_enabled()) { acl_ = new legacy::Acl( stack_handler_, legacy::GetAclInterface(), controller_get_interface()->get_ble_acceptlist_size(), controller_get_interface()->get_ble_resolving_list_max_size()); } } if (!common::init_flags::gd_core_is_enabled()) { bluetooth::shim::hci_on_reset_complete(); } Loading Loading @@ -244,7 +240,7 @@ void Stack::Stop() { } // Make sure gd acl flag is enabled and we started it up if (common::init_flags::gd_acl_is_enabled() && acl_ != nullptr) { if (acl_ != nullptr) { acl_->FinalShutdown(); delete acl_; acl_ = nullptr; Loading