tests: Bluetooth: Mesh: Arg bug in beacon creation
Fixes bug in private_beacon_create function in beacon test implementation. Signed-off-by: Anders Storrø <anders.storro@nordicsemi.no>
This commit is contained in:
parent
0ce77c227b
commit
f9ee38060d
1 changed files with 1 additions and 1 deletions
|
@ -1180,7 +1180,7 @@ static void private_beacon_create(struct net_buf_simple *buf, const uint8_t *net
|
|||
}
|
||||
|
||||
bt_rand(random_val, sizeof(random_val));
|
||||
bt_mesh_beacon_encrypt(&priv_beacon_key, flags, bt_mesh.iv_index + 1,
|
||||
bt_mesh_beacon_encrypt(&priv_beacon_key, flags, iv_index,
|
||||
random_val, data, auth);
|
||||
|
||||
net_buf_simple_reset(buf);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue