diff mbox series

[BlueZ,v3,1/6] mesh: Fix delivery of PB-ACK to acceptors

Message ID 20210519190925.1723012-2-brian.gix@intel.com
State New
Headers show
Series [BlueZ,v3,1/6] mesh: Fix delivery of PB-ACK to acceptors | expand

Commit Message

Brian Gix May 19, 2021, 7:09 p.m. UTC
Remove unneeded initialization that prevented the Acceptor roll of ever
recognizing a valid PB-ACK.
---
 mesh/pb-adv.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/mesh/pb-adv.c b/mesh/pb-adv.c
index c74dae79f..83f922aa8 100644
--- a/mesh/pb-adv.c
+++ b/mesh/pb-adv.c
@@ -358,7 +358,6 @@  static void pb_adv_packet(void *user_data, const uint8_t *pkt, uint16_t len)
 		first = !session->link_id;
 		session->link_id = link_id;
 		session->last_peer_trans_num = 0xFF;
-		session->local_acked = 0xFF;
 		session->peer_trans_num = 0x00;
 		session->local_trans_num = 0x7F;
 		session->opened = true;