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

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

Merge "floss: Mark controller as broken if we got INVALID_FD in Start()" into main

parents 68e6279d ee61f7e6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -339,6 +339,7 @@ protected:
    // We don't want to crash when the chipset is broken.
    if (sock_fd_ == INVALID_FD) {
      log::error("Failed to connect to HCI socket. Aborting HAL initialization process.");
      controller_broken_ = true;
      kill(getpid(), SIGTERM);
      return;
    }