summaryrefslogtreecommitdiff
path: root/mesh
diff options
context:
space:
mode:
authorIsak Westin <isak.westin@loytec.com>2022-10-04 10:25:29 +0200
committerBrian Gix <brian.gix@intel.com>2022-10-06 13:34:20 -0700
commit3f3a7b8e192f210b7119b30e8c840e13993134a9 (patch)
tree84ff1287ce5ba1dee49318a0b1eb1eb130f90be6 /mesh
parent7ff3e10d92bac299f541d365057f422d0282e483 (diff)
downloadbluez-3f3a7b8e192f210b7119b30e8c840e13993134a9.tar.gz
mesh: Queue a friend update on IV Update change
A friend update should be queued when we receive a Secure Network beacon that changes the IV Update state.
Diffstat (limited to 'mesh')
-rw-r--r--mesh/net.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesh/net.c b/mesh/net.c
index a8a527c2f..577121f30 100644
--- a/mesh/net.c
+++ b/mesh/net.c
@@ -2703,6 +2703,7 @@ static bool update_iv_ivu_state(struct mesh_net *net, uint32_t iv_index,
net->iv_index = iv_index;
net->iv_update = ivu;
+ queue_friend_update(net);
return true;
}