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

Commit 8cb731b6 authored by Chris Manton's avatar Chris Manton
Browse files

shim: Use proper types HCI_ERR_CONN_FAILED_ESTABLISHMENT

Bug: 163134718
Test: gd/cert/run
Tag: #refactor

Change-Id: I5dcc70761cad22978ba7dbbaa289abb747ec483f
parent 99dc427b
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -226,8 +226,7 @@ inline tHCI_STATUS ToLegacyHciErrorCode(const hci::ErrorCode& reason) {
    case hci::ErrorCode::CONTROLLER_BUSY:
      return static_cast<tHCI_STATUS>(hci::ErrorCode::CONTROLLER_BUSY);
    case hci::ErrorCode::CONNECTION_FAILED_ESTABLISHMENT:
      return static_cast<tHCI_STATUS>(
          hci::ErrorCode::CONNECTION_FAILED_ESTABLISHMENT);
      return HCI_ERR_CONN_FAILED_ESTABLISHMENT;
    case hci::ErrorCode::STATUS_UNKNOWN:
      return HCI_ERR_UNDEFINED;
    default: