Skip to content
Commit daa8040e authored by Mariusz Skamra's avatar Mariusz Skamra Committed by Johan Hedberg
Browse files

Bluetooth: Mesh: Ignore segments of cancelled message



This fixes the issue when after incomplete timer expiration
host sent ACK.
The host failed in two cases:
1. Sending ACK right after the incomplete timer expiration;
2. Sending ACK from new RX context. Now, seq_auth of cancelled
message is not cleaned on RX reset, so segments of cancelled message
will be discarded when resend.

According to the Mesh Profile v1.0
"When the incomplete timer expires, the lower transport layer
shall consider that the message being received has failed and
cancel the acknowledgment timer. Any segment of a canceled
message shall be ignored."

Fixes #6023

Signed-off-by: default avatarMariusz Skamra <mariusz.skamra@codecoup.pl>
parent c78a1227
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment