Browse Source

Complete retrans was not switched off immediately

pull/1080/head
no name 2 years ago
parent
commit
42332cdac6
  1. 2
      src/hm/hmPayload.h

2
src/hm/hmPayload.h

@ -302,11 +302,11 @@ class HmPayload {
} }
} }
} }
}
} else if (false == mPayload[iv->id].gotFragment) { } else if (false == mPayload[iv->id].gotFragment) {
// only if there is no sign of life // only if there is no sign of life
mPayload[iv->id].rxTmo = true; // inv might be down, no complete retransmit anymore mPayload[iv->id].rxTmo = true; // inv might be down, no complete retransmit anymore
} }
}
} else if(!crcPass && pyldComplete) { // crc error on complete Payload } else if(!crcPass && pyldComplete) { // crc error on complete Payload
if (mPayload[iv->id].retransmits < mMaxRetrans) { if (mPayload[iv->id].retransmits < mMaxRetrans) {
mPayload[iv->id].retransmits++; mPayload[iv->id].retransmits++;

Loading…
Cancel
Save