diff mbox series

[1/1] mesh: Initialize local_acked to zero

Message ID 1585078044-14974-8-git-send-email-prathyusha.n@samsung.com (mailing list archive)
State Superseded
Delegated to: Brian Gix
Headers show
Series [1/1] mesh: Initialize local_acked to zero | expand

Commit Message

Prathyusha Nelluri March 24, 2020, 7:27 p.m. UTC
From: Prathyusha N <prathyusha.n@samsung.com>

Initialized local_acked to zero to send received acknowledge
to acceptor.
---
 mesh/pb-adv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/mesh/pb-adv.c b/mesh/pb-adv.c
index 6ef45b8b0..f7aad0041 100644
--- a/mesh/pb-adv.c
+++ b/mesh/pb-adv.c
@@ -375,7 +375,7 @@  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->local_acked = 0x00;
 		session->peer_trans_num = 0x00;
 		session->local_trans_num = 0x7F;
 		session->opened = true;