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

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

Merge "system/btif/src: Update FAIL with more descriptive error codes" into main

parents f423f0f6 dc8917d2
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1209,7 +1209,7 @@ static void btif_dm_auth_cmpl_evt(tBTA_DM_AUTH_CMPL* p_auth_cmpl) {
                                             pairing_cb.pin_code_len);
      } else {
        log::warn("bd_addr is empty");
        ret = BT_STATUS_FAIL;
        ret = BT_STATUS_PARM_INVALID;
      }
      ASSERTC(ret == BT_STATUS_SUCCESS, "storing link key failed", ret);
    } else {
@@ -1381,7 +1381,7 @@ static void btif_dm_auth_cmpl_evt(tBTA_DM_AUTH_CMPL* p_auth_cmpl) {
        break;

      default:
        status = BT_STATUS_FAIL;
        status = BT_STATUS_UNHANDLED;
    }
    /* Special Handling for HID Devices */
    if (check_cod_hid_major(bd_addr, COD_HID_POINTING)) {
@@ -3682,7 +3682,7 @@ static void btif_dm_ble_auth_cmpl_evt(tBTA_DM_AUTH_CMPL* p_auth_cmpl) {
        break;
      default:
        btif_dm_remove_ble_bonding_keys();
        status = BT_STATUS_FAIL;
        status = BT_STATUS_UNHANDLED;
        break;
    }
  }