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

Commit 2045302b authored by Jakub Pawlowski's avatar Jakub Pawlowski
Browse files

Fix bad comparison in btm_ble_refresh_local_resolvable_private_addr

This issue was introduced while switching from BD_ADDR to bt_bdaddr_t

Test: Pairing with BLE mouse
Change-Id: I6f6e2386cbd8449bd38d65d1d9c1c5a0032f2156
parent 3245cae5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -503,7 +503,7 @@ void btm_ble_refresh_local_resolvable_private_addr(
  if (p != NULL) {
    if (btm_cb.ble_ctr_cb.privacy_mode != BTM_PRIVACY_NONE) {
      p->conn_addr_type = BLE_ADDR_RANDOM;
      if (local_rpa == dummy_bda)
      if (local_rpa != dummy_bda)
        p->conn_addr = local_rpa;
      else
        p->conn_addr = btm_cb.ble_ctr_cb.addr_mgnt_cb.private_addr;