]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/Mtftp6Dxe/Mtftp6Rrq.c
MdeModulePkg/PciSioSerial: Fix bad EOL
[mirror_edk2.git] / NetworkPkg / Mtftp6Dxe / Mtftp6Rrq.c
index 4a481f4b46e0f3cb8c67394e170830a13a383dbf..2aadef076cf0d55fe81a8ea71b7171d794e67be3 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Mtftp6 Rrq process functions implementation.\r
 \r
 /** @file\r
   Mtftp6 Rrq process functions implementation.\r
 \r
-  Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>\r
 \r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
 \r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
@@ -59,6 +59,7 @@ Mtftp6RrqSendAck (
   // Reset current retry count of the instance.\r
   //\r
   Instance->CurRetry = 0;\r
   // Reset current retry count of the instance.\r
   //\r
   Instance->CurRetry = 0;\r
+  Instance->LastPacket = Packet;\r
 \r
   return Mtftp6TransmitPacket (Instance, Packet);\r
 }\r
 \r
   return Mtftp6TransmitPacket (Instance, Packet);\r
 }\r
@@ -456,6 +457,7 @@ Mtftp6RrqHandleOack (
   EFI_UDP6_PROTOCOL         *Udp6;\r
 \r
   *IsCompleted = FALSE;\r
   EFI_UDP6_PROTOCOL         *Udp6;\r
 \r
   *IsCompleted = FALSE;\r
+  Options = NULL;\r
 \r
   //\r
   // If already started the master download, don't change the\r
 \r
   //\r
   // If already started the master download, don't change the\r