Only stop retransmissions when receiving implicit ACK over LoRa (#7872)

* Only stop retransmissions when receiving implicit ACK over LoRa

* trunk fmt
This commit is contained in:
GUVWAF authored and Ben Meadors committed 2025-09-05 12:00:23 -05:00
1 parent ec9f3fa6ea
commit a25bfd264c
3 files changed
+10 -4

No files matched your search

+4 -1
View File
@@ -58,7 +58,10 @@ bool ReliableRouter::shouldFilterReceived(const meshtastic_MeshPacket *p)
// marked as wantAck
sendAckNak(meshtastic_Routing_Error_NONE, getFrom(p), p->id, old->packet->channel);
stopRetransmission(key);
// Only stop retransmissions if the rebroadcast came via LoRa
if (p->transport_mechanism == meshtastic_MeshPacket_TransportMechanism_TRANSPORT_LORA) {
stopRetransmission(key);
}
} else {
LOG_DEBUG("Didn't find pending packet");
}