diff mbox series

[BlueZ,3/4] mesh: Queue a friend update on IV Update change

Message ID 20221004082530.25719-4-isak.westin@loytec.com
State New
Headers show
Series Mesh: Fixes for friendship procedures | expand

Commit Message

Isak Westin Oct. 4, 2022, 8:25 a.m. UTC
A friend update should be queued when we receive a Secure Network beacon
that changes the IV Update state.
---
 mesh/net.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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;
 }