Skip to content
Snippets Groups Projects
Commit 2dfa1634 authored by Chris Manton's avatar Chris Manton
Browse files

shim::Acl should only run if gd::Core disabled

Bug: 166280067
Test: compile
Tag: #refactor
Change-Id: I6f79df1b7126d5237d9b2c9bcac3c3a65aaff19c
parent 5f9ea0fa
No related branches found
No related tags found
No related merge requests found
......@@ -106,7 +106,9 @@ void Stack::StartEverything() {
stack_manager_.GetInstance<neighbor::InquiryModule>());
}
if (common::InitFlags::GdAclEnabled()) {
acl_ = new legacy::Acl(stack_handler_);
if (!common::InitFlags::GdCoreEnabled()) {
acl_ = new legacy::Acl(stack_handler_);
}
}
is_running_ = true;
if (!common::InitFlags::GdCoreEnabled()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment