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

Commit 2380a2d0 authored by Hsin-chen Chuang's avatar Hsin-chen Chuang
Browse files

floss: CrOS metrics: Fix error code name

Bug: 312855796
Tag: #floss
Test: emerge && deploy, basic BT functionalities are good
Change-Id: I42c30a1e58f7ac8b8d1dea2d8e5aa34085b3f81c
parent eb55cc18
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -208,7 +208,7 @@ static PairingState FailReasonToPairingState(int32_t fail_reason) {
      return PairingState::PAIR_FAIL_AUTH_FAILED;
    case hci::ErrorCode::ROLE_SWITCH_FAILED:
      return PairingState::PAIR_FAIL_FAILED;
    case hci::ErrorCode::HOST_BUSY:
    case hci::ErrorCode::HOST_BUSY_PAIRING:
      return PairingState::PAIR_FAIL_BUSY;
    case hci::ErrorCode::CONTROLLER_BUSY:
      return PairingState::PAIR_FAIL_BUSY;