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

Commit 79ad714f authored by Chris Manton's avatar Chris Manton
Browse files

gd: Set the required receivable hci events

Bug: 144170448
Test: Verified on wireshark with legacy
Change-Id: I38f536fa8b3885425e5c7664f7650e8b4bcf8952
parent 1c7af36d
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() {