Improve the grammar of the comment in PxeReceive about ensuring that
MediaPresent is set to the correct value.

Signed-off-by: Rebecca Cran <rebe...@quicinc.com>
---
 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



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#96874): https://edk2.groups.io/g/devel/message/96874
Mute This Topic: https://groups.io/mt/95394608/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to