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

Commit f6529798 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "gd: Set the required receivable hci events"

parents c02f5595 79ad714f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@ namespace shim {

namespace {
constexpr char kModuleName[] = "shim::Controller";
constexpr uint64_t kEventMask = 0x3dbfffffffffffff;
}  // namespace

struct Controller::impl {
@@ -108,6 +109,7 @@ void Controller::ListDependencies(ModuleList* list) {
void Controller::Start() {
  LOG_INFO("%s Starting controller shim layer", __func__);
  pimpl_ = std::make_unique<impl>(GetDependency<hci::Controller>());
  pimpl_->hci_controller_->SetEventMask(kEventMask);
}

void Controller::Stop() {