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

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

Merge "Remove incorrect assert in btm_read_rssi_cb"

parents 0ee577cf 8f7882f3
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1016,7 +1016,10 @@ void btif_a2dp_source_update_metrics(void) {
}

static void btm_read_rssi_cb(void* data) {
  assert(data);
  if (data == nullptr) {
    LOG_ERROR(LOG_TAG, "%s RSSI request timed out", __func__);
    return;
  }

  tBTM_RSSI_RESULTS* result = (tBTM_RSSI_RESULTS*)data;
  if (result->status != BTM_SUCCESS) {