summaryrefslogtreecommitdiff
path: root/mesh/pb-adv.c
diff options
context:
space:
mode:
authorBrian Gix <brian.gix@intel.com>2021-05-18 16:08:14 -0700
committerBrian Gix <brian.gix@intel.com>2021-05-19 12:54:40 -0700
commit01404f570c67281b49cc6da6e3f9331309c3c9a2 (patch)
treeacedd270748f14d655581df2b5d518bb7fbe8c6b /mesh/pb-adv.c
parent980bd585c38a0b9578c0f857c20b86c7fc6feffe (diff)
downloadbluez-01404f570c67281b49cc6da6e3f9331309c3c9a2.tar.gz
mesh: Fix delivery of PB-ACK to acceptors
Remove unneeded initialization that prevented the Acceptor roll of ever recognizing a valid PB-ACK.
Diffstat (limited to 'mesh/pb-adv.c')
-rw-r--r--mesh/pb-adv.c1
1 files changed, 0 insertions, 1 deletions
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;