summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcImpl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcImpl.c b/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcImpl.c
index b41dc76..2dc66f1 100644
--- a/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcImpl.c
+++ b/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcImpl.c
@@ -2697,7 +2697,10 @@ EfiPxeLoadFile (
// Check download status
//
if (Status == EFI_SUCCESS) {
- PxeBc->Stop (PxeBc);
+ //
+ // The functionality of PXE Base Code protocol will not be stopped,
+ // when downloading is successfully.
+ //
return EFI_SUCCESS;
} else if (Status == EFI_BUFFER_TOO_SMALL) {