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

Commit d0604b13 authored by Chris Manton's avatar Chris Manton
Browse files

logging: btu_hcif:: clean up command status

Bug: 308030795
Test: atest BumbleBluetoothTests

Change-Id: I00bb3d7461ca13c585756802e5e1d9df76b7a9ca
parent 44f32789
Loading
Loading
Loading
Loading
+9 −0
Original line number Original line Diff line number Diff line
@@ -1316,6 +1316,15 @@ static void btu_hcif_hdl_command_status(uint16_t opcode, uint8_t status,
      btm_pm_proc_cmd_status(hci_status);
      btm_pm_proc_cmd_status(hci_status);
      break;
      break;


    // Command status event not handled by a specialized module
    case HCI_READ_RMT_CLOCK_OFFSET:    // 0x041f
    case HCI_CHANGE_CONN_PACKET_TYPE:  // 0x040f
      if (hci_status != HCI_SUCCESS) {
        LOG_WARN("Received bad command status for opcode:0x%02x status:%s",
                 opcode, hci_status_code_text(hci_status).c_str());
      }
      break;

    default:
    default:
      LOG_ERROR(
      LOG_ERROR(
          "Command status for opcode:0x%02x should not be handled here "
          "Command status for opcode:0x%02x should not be handled here "