Improve the grammar of the comment in PxeReceive about ensuring that
MediaPresent is set to the correct value.
Signed-off-by: Rebecca Cran <rebecca@...>
---
NetworkPkg/SnpDxe/Receive.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/NetworkPkg/SnpDxe/Receive.c b/NetworkPkg/SnpDxe/Receive.c
index 41601980f25f..6a1914b84ba5 100644
--- a/NetworkPkg/SnpDxe/Receive.c
+++ b/NetworkPkg/SnpDxe/Receive.c
@@ -126,10 +126,10 @@ PxeReceive (
}
//
- // We have received a packet from network interface, which implies that the
- // network cable should be present. While, some UNDI driver may not report
- // correct media status during Snp->Initialize(). So, we need ensure
- // MediaPresent in SNP mode data is set to correct value.
+ // We have received a packet from the network interface, which implies
+ // that the network cable should be present. Some UNDI drivers may not
+ // report correct media status during Snp->Initialize(), so we need to
+ // ensure MediaPresent in SNP mode data is set to the correct value.
//
if (Snp->Mode.MediaPresentSupported && !Snp->Mode.MediaPresent) {
Snp->Mode.MediaPresent = TRUE;
--
2.30.2