]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/Mtftp6Dxe/Mtftp6Support.c
NetworkPkg/Mtftp6Dxe: Fix various typos
[mirror_edk2.git] / NetworkPkg / Mtftp6Dxe / Mtftp6Support.c
index 5b10da52c38919deef7a704fa53d0ef805789443..1157a6065cac7f3c9a31316702bfb84740b846ca 100644 (file)
@@ -46,7 +46,7 @@ Mtftp6AllocateRange (
   Initialize the block range for either RRQ or WRQ. RRQ and WRQ have\r
   different requirements for Start and End. For example, during startup,\r
   WRQ initializes its whole valid block range to [0, 0xffff]. This\r
-  is bacause the server will send an ACK0 to inform the user to start the\r
+  is because the server will send an ACK0 to inform the user to start the\r
   upload. When the client receives an ACK0, it will remove 0 from the range,\r
   get the next block number, which is 1, then upload the BLOCK1. For RRQ\r
   without option negotiation, the server will directly send the BLOCK1\r
@@ -197,7 +197,7 @@ Mtftp6RemoveBlockNum (
     // 3. (Start < Num) && (End >= Num):\r
     //    if End == Num, only need to decrease the End by one because\r
     //    we have (Start < Num) && (Num == End), so (Start <= End - 1).\r
-    //    if (End > Num), the hold is splited into two holes, with\r
+    //    if (End > Num), the hold is split into two holes, with\r
     //    [Start, Num - 1] and [Num + 1, End].\r
     //\r
     if (Range->Start > Num) {\r
@@ -991,7 +991,7 @@ Mtftp6OperationClean (
   write file, and read directory.\r
 \r
   @param[in]  This                   The MTFTP session.\r
-  @param[in]  Token                  The token than encapsues the user's request.\r
+  @param[in]  Token                  The token than encapsules the user's request.\r
   @param[in]  OpCode                 The operation to perform.\r
 \r
   @retval EFI_INVALID_PARAMETER  Some of the parameters are invalid.\r
@@ -1227,7 +1227,7 @@ Mtftp6OnTimerTick (
     }\r
 \r
     //\r
-    // Retransmit the packet if haven't reach the maxmium retry count,\r
+    // Retransmit the packet if haven't reach the maximum retry count,\r
     // otherwise exit the transfer.\r
     //\r
     if (Instance->CurRetry < Instance->MaxRetry) {\r