tests: bsim: Bluetooth: Host: Fix RPA expired old time value
Fix RPA expired old time value used for rotation timeout validation. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
5e789c3ae0
commit
bc4442ece7
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ static void test_address(bt_addr_le_t *addr)
|
|||
/* Only save the address if this is the first scan */
|
||||
if (bt_addr_le_eq(&adv_set_data[adv_index].old_addr, BT_ADDR_LE_ANY)) {
|
||||
bt_addr_le_copy(&adv_set_data[adv_index].old_addr, addr);
|
||||
adv_set_data[adv_index].old_time = 0;
|
||||
adv_set_data[adv_index].old_time = k_uptime_get();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue