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

Commit 406ef500 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Floss: Use current random address when reconnecting to LE device"

parents 4b26a9f2 0f9eab92
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -83,6 +83,15 @@ const tBLE_BD_ADDR convert_to_address_with_type(
        .bda = bd_addr,
    };
  } else {
    // Floss doesn't support LL Privacy (yet). To expedite ARC testing, always
    // connect to the latest LE random address rather than redesign.
    // TODO(b/235218533): Remove when LL Privacy is implemented.
#if TARGET_FLOSS
    return {
        .type = BLE_ADDR_RANDOM,
        .bda = p_dev_rec->ble.cur_rand_addr.address,
    };
#endif
    return p_dev_rec->ble.identity_address_with_type;
  }
}