summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-12-04 03:01:52 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-12-04 03:01:52 +0000
commit6ee21b60a8adb82452a15afef4bf4938e3eec4b0 (patch)
tree4f85118b883ff71639d8d0b9bbc2a5b7267d945e
parent86714ccd8e20acb7ac475c1fbd1338d3a918bc92 (diff)
downloadedk2-platforms-6ee21b60a8adb82452a15afef4bf4938e3eec4b0.tar.xz
The functionality of PXE Base Code protocol will not be stopped, when downloading is successfully.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9512 6f19259b-4bc3-4df7-8a09-765794883524
-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 b41dc76415..2dc66f168c 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) {