diff --git a/src/rx/rx.c b/src/rx/rx.c index 48ef3dda4f..87737551a9 100644 --- a/src/rx/rx.c +++ b/src/rx/rx.c @@ -3346,9 +3346,11 @@ rxi_ReceiveDataPacket(register struct rx_call *call, /* We need to send an ack of the packet is out of sequence, * or if an ack was requested by the peer. */ - if (seq != prev + 1 || missing || (flags & RX_REQUEST_ACK)) { + if (seq != prev + 1 || missing) { ackNeeded = RX_ACK_OUT_OF_SEQUENCE; - } + } else if (flags & RX_REQUEST_ACK) { + ackNeeded = RX_ACK_REQUESTED; + } /* Acknowledge the last packet for each call */ if (flags & RX_LAST_PACKET) {