Acknowledge a packet with the received packet's PacketId, not with the current sending PacketId.

svn path=/branches/ros-amd64-bringup/; revision=39131
This commit is contained in:
Timo Kreuzer
2009-01-27 12:15:22 +00:00
parent 08050b1520
commit ae0c07b4f8
+1 -1
View File
@@ -1090,7 +1090,7 @@ KdReceivePacket(
RcvCode = KdpReceiveBuffer(&Byte, sizeof(UCHAR));
/* Acknowledge the received packet */
KdpSendControlPacket(PACKET_TYPE_KD_ACKNOWLEDGE, CurrentPacketId);
KdpSendControlPacket(PACKET_TYPE_KD_ACKNOWLEDGE, Packet.PacketId);
CurrentPacketId ^= 1;
//FrLdrDbgPrint("KdReceivePacket - all ok\n");