summaryrefslogtreecommitdiff
path: root/NetworkPkg/Mtftp6Dxe
diff options
context:
space:
mode:
authorAri Zigler <ariz@mellanox.com>2013-07-02 06:44:27 +0000
committersfu5 <sfu5@6f19259b-4bc3-4df7-8a09-765794883524>2013-07-02 06:44:27 +0000
commit3aee9940c98cff4814c1ec9bddbcfd8528211c58 (patch)
tree047ddd71ee38a63c5883e39ef3750c95c618a0ed /NetworkPkg/Mtftp6Dxe
parente8ee4b2d43334ebd47a6565e6ea5c964fa88c203 (diff)
downloadedk2-platforms-3aee9940c98cff4814c1ec9bddbcfd8528211c58.tar.xz
Fix a bug in Mtftp6 retransmission mechanism of the ACK.
Signed-off-by: Ari Zigler <ariz@mellanox.com> Reviewed-by: Ouyang Qian <qian.ouyang@intel.com> Reviewed-by: Fu Siyuan <siyuan.fu@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14450 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'NetworkPkg/Mtftp6Dxe')
-rw-r--r--NetworkPkg/Mtftp6Dxe/Mtftp6Rrq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/NetworkPkg/Mtftp6Dxe/Mtftp6Rrq.c b/NetworkPkg/Mtftp6Dxe/Mtftp6Rrq.c
index 4a481f4b46..121b2a3726 100644
--- a/NetworkPkg/Mtftp6Dxe/Mtftp6Rrq.c
+++ b/NetworkPkg/Mtftp6Dxe/Mtftp6Rrq.c
@@ -59,6 +59,7 @@ Mtftp6RrqSendAck (
// Reset current retry count of the instance.
//
Instance->CurRetry = 0;
+ Instance->LastPacket = Packet;
return Mtftp6TransmitPacket (Instance, Packet);
}