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

Commit 263de8fa authored by Henri Chataing's avatar Henri Chataing Committed by Automerger Merge Worker
Browse files

Merge "RootCanal: ll: close remotes with `POWER_OFF` instead `TIMEOUT`" into main am: d2565056

parents 47e03117 d2565056
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -5164,8 +5164,8 @@ void LinkLayerController::Tick() {

void LinkLayerController::Close() {
  for (auto handle : connections_.GetAclHandles()) {
    Disconnect(handle, ErrorCode::CONNECTION_TIMEOUT,
               ErrorCode::CONNECTION_TIMEOUT);
    Disconnect(handle, ErrorCode::REMOTE_DEVICE_TERMINATED_CONNECTION_POWER_OFF,
               ErrorCode::REMOTE_DEVICE_TERMINATED_CONNECTION_POWER_OFF);
  }
}