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

Commit 9af3ce14 authored by George Burgess IV's avatar George Burgess IV Committed by Automerger Merge Worker
Browse files

btm: explicitly zero-initialize a variable am: b908bc39

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/1892732

Change-Id: I62adbb306565a94ac4dbe27698ce36a6a490b581
parents c600f029 b908bc39
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -857,7 +857,7 @@ tBTM_SEC_ACTION btm_ble_determine_security_act(bool is_originator,
    if (security_required & BTM_SEC_IN_MITM) auth_req |= BTM_LE_AUTH_REQ_MITM;
  }

  tBTM_BLE_SEC_REQ_ACT ble_sec_act;
  tBTM_BLE_SEC_REQ_ACT ble_sec_act = { BTM_BLE_SEC_REQ_ACT_NONE };
  btm_ble_link_sec_check(bdaddr, auth_req, &ble_sec_act);

  BTM_TRACE_DEBUG("%s ble_sec_act %d", __func__, ble_sec_act);