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

Commit bfebefb7 authored by Jakub Pawlowski's avatar Jakub Pawlowski Committed by android-build-merger
Browse files

Fix APR crashes in read rssi callback

am: 96e3e6f1

Change-Id: I3d36ea5bc06e20be72103c9028e2719bc393a4de
parents 2d594c0f 96e3e6f1
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1023,6 +1023,9 @@ static void bta_track_adv_event_cb(tBTA_DM_BLE_TRACK_ADV_DATA *p_track_adv_data)

static void btm_read_rssi_cb (tBTM_RSSI_RESULTS *p_result)
{
    if (!p_result)
      return;

    btif_gattc_cb_t btif_cb;

    bdcpy(btif_cb.bd_addr.address, p_result->rem_bda);