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

Commit f533ab72 authored by Ray Kuo's avatar Ray Kuo Committed by android-build-merger
Browse files

Merge "BQR: Fix for the issue that Bluetooth keeps on crashing if the...

Merge "BQR: Fix for the issue that Bluetooth keeps on crashing if the controller firmware does not support the BQR feature." am: 554a5626
am: c9a18649

Change-Id: I594738be1148f77e55e62deba96b2503b3caaad8
parents 46237b65 c9a18649
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -243,8 +243,7 @@ void EnableBtQualityReport(bool is_enable) {

void BqrVscCompleteCallback(tBTM_VSC_CMPL* p_vsc_cmpl_params) {
  if (p_vsc_cmpl_params->param_len < 1) {
    LOG(FATAL) << __func__
               << ": The length of returned parameters is less than 1";
    LOG(ERROR) << __func__ << ": The length of returned parameters is less than 1";
    return;
  }

@@ -255,8 +254,7 @@ void BqrVscCompleteCallback(tBTM_VSC_CMPL* p_vsc_cmpl_params) {
  // Current_Quality_Event_Mask | 4 octets | Indicates current bit mask setting
  STREAM_TO_UINT8(status, p_event_param_buf);
  if (status != HCI_SUCCESS) {
    LOG(FATAL) << __func__
               << ": Fail to configure BQR. status: " << loghex(status);
    LOG(ERROR) << __func__ << ": Fail to configure BQR. status: " << loghex(status);
    return;
  }